[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <171285066216.2464516.4448595917392110976.b4-ty@kernel.org>
Date: Thu, 11 Apr 2024 16:51:02 +0100
From: Lee Jones <lee@...nel.org>
To: linux-kernel@...r.kernel.org, Pavel Machek <pavel@....cz>,
Lee Jones <lee@...nel.org>, Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>, linux-leds@...r.kernel.org
Subject: Re: (subset) [PATCH 15/34] leds: apu: remove duplicate DMI lookup
data
On Wed, 03 Apr 2024 10:06:33 +0200, Arnd Bergmann wrote:
> 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.
>
> [...]
Applied, thanks!
[15/34] leds: apu: remove duplicate DMI lookup data
commit: 6e37e66058d9c0bfa13d32e2c6ff14439d5e62f9
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists