diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-10-26 14:37:04 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-10-27 09:33:52 +0300 |
commit | f5d6d2da0d9098a4aa0ebcc187aa0fc167045d6b (patch) | |
tree | 34744179101717a993e48a4082879f8db0d1e093 /drivers | |
parent | 9fe68cad6e74967b88d0c6aeca7d9cd6b6e91942 (diff) | |
download | linux-f5d6d2da0d9098a4aa0ebcc187aa0fc167045d6b.tar.xz |
sched/fair: Remove unused but set variable 'rq'
Since commit:
8663e24d56dc ("sched/fair: Reorder cgroup creation code")
... the variable 'rq' in alloc_fair_sched_group() is set but no longer used.
Remove it to fix the following GCC warning when building with 'W=1':
kernel/sched/fair.c:8842:13: warning: variable ‘rq’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20161026113704.8981-1-tklauser@distanz.ch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions