From: Hans de Goede Date: Thu, 12 Apr 2018 10:01:57 +0000 (+0200) Subject: ACPI / AC: Remove initializer for unused ident dmi_system_id X-Git-Tag: v4.18-rc1~148^2~1^4~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6605e3423f37ba4d24771a65b850d8a900830610;p=thirdparty%2Fkernel%2Flinux.git ACPI / AC: Remove initializer for unused ident dmi_system_id The ac.c code does not use the dmi_system_id ident member, so there is no need to initialize it. This saves us storing the unused "thinkpad e530" string as const data. Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c index 2d8de2f8c1ed3..9e4463dda622c 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c @@ -318,8 +318,8 @@ static int thinkpad_e530_quirk(const struct dmi_system_id *d) static const struct dmi_system_id ac_dmi_table[] = { { + /* Thinkpad e530 */ .callback = thinkpad_e530_quirk, - .ident = "thinkpad e530", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), DMI_MATCH(DMI_PRODUCT_NAME, "32597CG"),