Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6605e342 authored by Hans de Goede's avatar Hans de Goede Committed by Rafael J. Wysocki
Browse files

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: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 6da6c0db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"),