diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-04-03 10:06:33 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-04-12 09:47:15 +0100 |
commit | 4bea1ca9e366e1159047279b87334d5cf1bd3adf (patch) | |
tree | 17bf10f16cdee278bc151fa466258eeb9dc3a887 /scripts/gdb/linux/tasks.py | |
parent | 1fe4f1bf60fdd2110480e8be8b084fcb2b1df656 (diff) |
leds: apu: Remove duplicate DMI lookup data
Building with W=1 shows a warning about an unused dmi_system_id table:
drivers/leds/leds-apu.c:85:35: error: 'apu_led_dmi_table' defined but not used [-Werror=unused-const-variable=]
85 | static const struct dmi_system_id apu_led_dmi_table[] __initconst = {
Since the current version doesn't even do anything about the different
implementations but only checks the type of system, just drop the
custom lookup logic and call dmi_check_system() using the table itself.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240403080702.3509288-16-arnd@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions