1
0
Fork 0

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 <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
hifive-unleashed-5.1
Hans de Goede 2018-04-12 12:01:57 +02:00 committed by Rafael J. Wysocki
parent 6da6c0db53
commit 6605e3423f
1 changed files with 1 additions and 1 deletions

View File

@ -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"),