Skip to content

Commit 91afa07

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI / battery: Remove initializer for unused ident dmi_system_id
The battery code does not use the dmi_system_id ident member, so there is no need to initialize it. This saves us storing the unused strings as as const data. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 6605e34 commit 91afa07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/acpi/battery.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,16 +1334,16 @@ battery_notification_delay_quirk(const struct dmi_system_id *d)
13341334

13351335
static const struct dmi_system_id bat_dmi_table[] __initconst = {
13361336
{
1337+
/* NEC LZ750/LS */
13371338
.callback = battery_bix_broken_package_quirk,
1338-
.ident = "NEC LZ750/LS",
13391339
.matches = {
13401340
DMI_MATCH(DMI_SYS_VENDOR, "NEC"),
13411341
DMI_MATCH(DMI_PRODUCT_NAME, "PC-LZ750LS"),
13421342
},
13431343
},
13441344
{
1345+
/* Acer Aspire V5-573G */
13451346
.callback = battery_notification_delay_quirk,
1346-
.ident = "Acer Aspire V5-573G",
13471347
.matches = {
13481348
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
13491349
DMI_MATCH(DMI_PRODUCT_NAME, "Aspire V5-573G"),

0 commit comments

Comments
 (0)