Re: [PATCH v1 1/1] sched: Remove never used code in mm_cid_get()
From: Andy Shevchenko
Date: Mon Oct 20 2025 - 06:10:51 EST
On Wed, Oct 15, 2025 at 11:19:34AM +0200, Andy Shevchenko wrote:
> Clang is not happy with set but unused variable (this is visible
> with `make W=1` build:
>
> kernel/sched/sched.h:3744:18: error: variable 'cpumask' set but not used [-Werror,-Wunused-but-set-variable]
>
> It seems like the variable was never be used along with the assignment that
> does not have side effects as far as I can see. Remove those altogether.
Anybody to apply this for fixes?
--
With Best Regards,
Andy Shevchenko