sched/fair: Remove unused but set variable 'rq'
authorTobias Klauser <tklauser@distanz.ch>
Wed, 26 Oct 2016 11:37:04 +0000 (13:37 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 27 Oct 2016 06:33:52 +0000 (08:33 +0200)
commitf5d6d2da0d9098a4aa0ebcc187aa0fc167045d6b
tree34744179101717a993e48a4082879f8db0d1e093
parent9fe68cad6e74967b88d0c6aeca7d9cd6b6e91942
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>
kernel/sched/fair.c