diff options
author | Qian Cai <cai@lca.pw> | 2019-12-19 09:03:14 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-12-25 10:42:06 +0100 |
commit | 53a23364b6b0c679a8ecfc48e74d652f18e3631f (patch) | |
tree | aa9b3c25b77c8edc1e1a4fc5e2356ca469c2a0e2 /kernel/sched/fair.c | |
parent | 1e5f8a308551b9816588e12bb795aeadebe37c4a (diff) |
sched/core: Remove unused variable from set_user_nice()
This commit left behind an unused variable:
5443a0be6121 ("sched: Use fair:prio_changed() instead of ad-hoc implementation") left behind an unused variable.
kernel/sched/core.c: In function 'set_user_nice':
kernel/sched/core.c:4507:16: warning: variable 'delta' set but not used
int old_prio, delta;
^~~~~
Signed-off-by: Qian Cai <cai@lca.pw>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: 5443a0be6121 ("sched: Use fair:prio_changed() instead of ad-hoc implementation")
Link: https://lkml.kernel.org/r/20191219140314.1252-1-cai@lca.pw
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/fair.c')
0 files changed, 0 insertions, 0 deletions