summaryrefslogtreecommitdiff
path: root/samples/rust/rust_driver_platform.rs
diff options
context:
space:
mode:
authorHuisong Li <lihuisong@huawei.com>2025-09-11 19:24:06 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-09-16 22:19:40 +0200
commit5020d05b3476f3561377a4ab076d42fda00e3607 (patch)
treeb7b0d1c9f8f3d19b91866b9f46bbc122713ec620 /samples/rust/rust_driver_platform.rs
parent2167bb92bdebb187e8b3a102987356ce981b77de (diff)
ACPI: processor: Remove unused empty stubs of some functions
Empty stubs are defined in processor.h for some functions provided by the ACPI processor idle driver, but those functions are only used in the main ACPI processor driver which requires the ACPI processor idle driver to be present (selecting CONFIG_ACPI_PROCESSOR causes CONFIG_ACPI_PROCESSOR_IDLE to be selected too automatically). This means that the empty stubs in question are not really necessary and if both CONFIG_ACPI_PROCESSOR and CONFIG_ACPI_PROCESSOR_IDLE are unset, the compiler complains that they are defined, but not used. Drop them to get rid of the compiler warning. Signed-off-by: Huisong Li <lihuisong@huawei.com> Link: https://patch.msgid.link/20250911112408.1668431-2-lihuisong@huawei.com [ rjw: Subject and changelog rewrite ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions