aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorBrendan Jackman <[email protected]>2017-10-05 12:45:13 +0100
committerIngo Molnar <[email protected]>2017-10-10 11:45:34 +0200
commite90381eaecf6d59c60fe396838e0e99789531419 (patch)
treeab4d16e3c62defcbcc510fe43e74a8199d29d089 /tools/perf/util/trace-event-scripting.c
parent18bd1b4bd53aba81d76d55e91a68310a227dc187 (diff)
sched/fair: Remove unnecessary comparison with -1
Since commit: 83a0a96a5f26 ("sched/fair: Leverage the idle state info when choosing the "idlest" cpu") find_idlest_group_cpu() (formerly find_idlest_cpu) no longer returns -1, so we can simplify the checking of the return value in find_idlest_cpu(). Signed-off-by: Brendan Jackman <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Cc: Dietmar Eggemann <[email protected]> Cc: Josef Bacik <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Morten Rasmussen <[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/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions