sched/fair: Remove unused but set variable 'rq'
authorTobias Klauser <[email protected]>
Wed, 26 Oct 2016 11:37:04 +0000 (13:37 +0200)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/fair.c