Commit f5d6d2d
sched/fair: Remove unused but set variable 'rq'
Since commit:
8663e24 ("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>1 parent 9fe68ca commit f5d6d2d
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8839 | 8839 | | |
8840 | 8840 | | |
8841 | 8841 | | |
8842 | | - | |
8843 | 8842 | | |
8844 | 8843 | | |
8845 | 8844 | | |
| |||
8854 | 8853 | | |
8855 | 8854 | | |
8856 | 8855 | | |
8857 | | - | |
8858 | | - | |
8859 | 8856 | | |
8860 | 8857 | | |
8861 | 8858 | | |
| |||
0 commit comments