Re: [PATCH -next] cpuset: Remove set but not used variable 'cs'
From: Tejun Heo <tj@kernel.org>
Date: 2018-12-03 16:26:00
Also in:
kernel-janitors, lkml
From: Tejun Heo <tj@kernel.org>
Date: 2018-12-03 16:26:00
Also in:
kernel-janitors, lkml
On Sat, Dec 01, 2018 at 03:12:56AM +0000, YueHaibing wrote:
Fixes gcc '-Wunused-but-set-variable' warning:
kernel/cgroup/cpuset.c: In function 'cpuset_cancel_attach':
kernel/cgroup/cpuset.c:2167:17: warning:
variable 'cs' set but not used [-Wunused-but-set-variable]
It never used since introduction in commit 1f7dd3e5a6e4 ("cgroup: fix handling
of multi-destination migration from subtree_control enabling")
Signed-off-by: YueHaibing <redacted>Applied to cgroup/for-4.21. Thanks. -- tejun