diff options
author | 2012-07-03 14:34:02 +0800 | |
---|---|---|
committer | 2012-09-04 14:31:42 +0200 | |
commit | 38b8dd6f87398524d02c21ff614c507ba8c9d295 (patch) | |
tree | b814a4c20ac30c5d7e7c0836daf1b11be0923cb4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched: Add time unit suffix to sched sysctl knobs (diff) | |
download | linux-dev-38b8dd6f87398524d02c21ff614c507ba8c9d295.tar.xz linux-dev-38b8dd6f87398524d02c21ff614c507ba8c9d295.zip |
sched: Remove useless code in yield_to()
It's impossible to enter the else branch if we have set
skip_clock_update in task_yield_fair(), as yield_to_task_fair()
will directly return true after invoke task_yield_fair().
Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com>
Acked-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/4FF2925A.9060005@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions