summaryrefslogtreecommitdiff
path: root/sound/usb/Makefile
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2023-11-20 21:18:40 -0500
committerTejun Heo <tj@kernel.org>2023-11-21 06:19:12 -1000
commit49277a5b76373e630075ff7d32fc0f9f51294f24 (patch)
tree99a5394dfe0a9f42a9437fdf5fd4e5f932f3296f /sound/usb/Makefile
parente76d28bdf9ba5388b8c4835a5199dc427b603188 (diff)
workqueue: Move workqueue_set_unbound_cpumask() and its helpers inside CONFIG_SYSFS
Commit fe28f631fa94 ("workqueue: Add workqueue_unbound_exclude_cpumask() to exclude CPUs from wq_unbound_cpumask") makes workqueue_set_unbound_cpumask() static as it is not used elsewhere in the kernel. However, this triggers a kernel test robot warning about 'workqueue_set_unbound_cpumask' defined but not used when CONFIG_SYS isn't defined. It happens that workqueue_set_unbound_cpumask() is only called when CONFIG_SYS is defined. Move workqueue_set_unbound_cpumask() and its helpers inside the CONFIG_SYSFS compilation block to avoid the warning. There is no functional change. Fixes: fe28f631fa94 ("workqueue: Add workqueue_unbound_exclude_cpumask() to exclude CPUs from wq_unbound_cpumask") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202311130831.uh0AoCd1-lkp@intel.com/ Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'sound/usb/Makefile')
0 files changed, 0 insertions, 0 deletions