diff options
| author | Tobias Klauser <[email protected]> | 2016-10-26 11:37:04 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-10-27 06:33:52 +0000 |
| commit | f5d6d2da0d9098a4aa0ebcc187aa0fc167045d6b (patch) | |
| tree | 34744179101717a993e48a4082879f8db0d1e093 /net/switchdev/switchdev.c | |
| parent | Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert... (diff) | |
| download | kernel-f5d6d2da0d9098a4aa0ebcc187aa0fc167045d6b.tar.gz kernel-f5d6d2da0d9098a4aa0ebcc187aa0fc167045d6b.zip | |
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]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
