Re: [PATCH -next] cpuset: Remove set but not used variable 'cs'
From: Tejun Heo
Date: Mon Dec 03 2018 - 11:26:01 EST
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 <yuehaibing@xxxxxxxxxx>
Applied to cgroup/for-4.21.
Thanks.
--
tejun