diff options
author | Peter Zijlstra <[email protected]> | 2016-02-25 15:01:49 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-02-29 09:53:11 +0100 |
commit | 801ccdbf018ca5dbd478756ece55cd6c7726ed5b (patch) | |
tree | a6c0fcfae7857957416637e1300ebee17add0511 /tools/perf/scripts/python/stackcollapse.py | |
parent | f904f58263e1df5f70feb8b283f4bbe662847334 (diff) |
sched/deadline: Remove superfluous call to switched_to_dl()
if (A || B) {
} else if (A && !B) {
}
If A we'll take the first branch, if !A we will not satisfy the second.
Therefore the second branch will never be taken.
Reported-by: luca abeni <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Juri Lelli <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions