[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aPYKpJ4MdjlGeILa@ashevche-desk.local>
Date: Mon, 20 Oct 2025 13:10:44 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...nel.org>,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Cc: Ingo Molnar <mingo@...hat.com>, Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Valentin Schneider <vschneid@...hat.com>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>
Subject: Re: [PATCH v1 1/1] sched: Remove never used code in mm_cid_get()
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
Powered by blists - more mailing lists