diff options
author | 2024-10-26 15:01:50 +0800 | |
---|---|---|
committer | 2024-11-05 05:33:46 +0100 | |
commit | eb33da0de01b867af52e7cc37f49542d21d89037 (patch) | |
tree | 2b3ebe5989e7122db59124209bda2aedbea7315b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | misc: rtsx: Cleanup on DRV_NAME cardreader variables (diff) | |
download | wireguard-linux-eb33da0de01b867af52e7cc37f49542d21d89037.tar.xz wireguard-linux-eb33da0de01b867af52e7cc37f49542d21d89037.zip |
goldfish: Fix unused const variable 'goldfish_pipe_acpi_match'
Fix the following compilation warning:
drivers/platform/goldfish/goldfish_pipe.c:925:36: warning:
‘goldfish_pipe_acpi_match’ defined but not used
[-Wunused-const-variable=]
925 | static const struct acpi_device_id goldfish_pipe_acpi_match[] = {
The complexity of config guards needed for ACPI_PTR() is not worthwhile
for the small amount of saved data. So remove the use of ACPI_PTR instead
and drop now unneeded linux/acpi.h include.
Fixes: d62f324b0ac8 ("goldfish: Enable ACPI-based enumeration for android pipe")
Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Link: https://lore.kernel.org/r/20241026070150.3239819-1-zengheng4@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions