diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-10-15 11:19:34 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-29 14:10:29 +0100 |
| commit | 5975ce4a02f4701d07acda4c67e07472ad601310 (patch) | |
| tree | 3799f605009145ff69deeb735dcc1e0130d34d7c /tools/perf/scripts/python | |
| parent | c4d145b336cf5e4c512f8710cef7eb9c7ed31be5 (diff) | |
sched: Remove never used code in mm_cid_get()
[ Upstream commit 53abe3e1c154628cc74e33a1bfcd865656e433a5 ]
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 used along with the assignment
that does not have side effects as far as I can see. Remove those
altogether.
Fixes: 223baf9d17f2 ("sched: Fix performance regression introduced by mm_cid")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
