diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2018-11-03 18:26:02 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-12-11 15:16:57 +0100 |
commit | 9ebc6053814d37b9de8cc291fba28f30a729c929 (patch) | |
tree | 9801860671155eefbdc246c1c80af6aa2569c791 /kernel/sched/sched.h | |
parent | sched/topology: Remove the ::smt_gain field from 'struct sched_domain' (diff) | |
download | linux-9ebc6053814d37b9de8cc291fba28f30a729c929.tar.xz linux-9ebc6053814d37b9de8cc291fba28f30a729c929.zip |
sched/core: Remove unnecessary unlikely() in push_*_task()
WARN_ON() already contains an unlikely(), so it's not necessary to
use WARN_ON(1).
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20181103172602.1917-1-tiny.windzz@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/sched.h')
0 files changed, 0 insertions, 0 deletions