OSDN Git Service

ACPI / AC: Remove initializer for unused ident dmi_system_id
authorHans de Goede <hdegoede@redhat.com>
Thu, 12 Apr 2018 10:01:57 +0000 (12:01 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 2 May 2018 11:06:59 +0000 (13:06 +0200)
commit6605e3423f37ba4d24771a65b850d8a900830610
tree37bd35d1da590db1772b23f868bd40ed6a9444ee
parent6da6c0db5316275015e8cc2959f12a17584aeb64
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>
drivers/acpi/ac.c