diff options
author | Huisong Li <lihuisong@huawei.com> | 2025-09-05 16:18:58 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-09-05 21:57:55 +0200 |
commit | 9d68320b2bca876278856fdc1e8684a7494dd069 (patch) | |
tree | 5a25f6dc4d3822863119946ca6f8c2b5f31a70f5 /kernel/bpf/arraymap.c | |
parent | e4c628e91c6ab12f89500a023adfb030f737f3fd (diff) |
ACPI: processor: idle: Fix function defined but not used warning
If CONFIG_ACPI_PROCESSOR_IDLE=n, acpi_processor_register_idle_driver()
and acpi_processor_unregister_idle_driver() are never used and the
empty stubs of them are not needed. Moreover, they cause the compiler
to complain [1], so remove them.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508300519.tZQHY6HA-lkp@intel.com/ [1]
Fixes: 7a8c994cbb2d ("ACPI: processor: idle: Optimize ACPI idle driver registration")
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Link: https://patch.msgid.link/20250905081900.663869-2-lihuisong@huawei.com
[ rjw: Changelog rewrite ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions