]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched/uclamp: Fix unnused variable warning
authorChristian Loehle <christian.loehle@arm.com>
Fri, 25 Oct 2024 10:53:17 +0000 (11:53 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 26 Oct 2024 07:28:37 +0000 (09:28 +0200)
commit23f1178ad706a1aa69ac3dfaa6559f1fb876c14e
tree6ffe64c5fa9dbec4704a8f5bb52f54f7888d3e22
parentd1fb8a78b2ff1fe4e9478c75b4fbec588a73c1b0
sched/uclamp: Fix unnused variable warning

uclamp_mutex is only used for CONFIG_SYSCTL or
CONFIG_UCLAMP_TASK_GROUP so declare it __maybe_unused.

Closes: https://lore.kernel.org/oe-kbuild-all/202410060258.bPl2ZoUo-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202410250459.EJe6PJI5-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/a1e9c342-01c9-44f0-a789-2c908e57942b@arm.com
kernel/sched/core.c