Skip to content

Commit f336443

Browse files
guohanjunrafaeljw
authored andcommitted
ACPI: AC: Remove the leftover struct acpi_ac_bl
In commit 57a1832 ("ACPI / x86: Introduce an acpi_quirk_skip_acpi_ac_and_battery() helper"), the usage of struct acpi_ac_bl was removed, but left the definition of the struct in the file, so remove the useless code. Signed-off-by: Hanjun Guo <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 521a547 commit f336443

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/acpi/ac.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ static int acpi_ac_add(struct acpi_device *device);
3636
static int acpi_ac_remove(struct acpi_device *device);
3737
static void acpi_ac_notify(struct acpi_device *device, u32 event);
3838

39-
struct acpi_ac_bl {
40-
const char *hid;
41-
int hrv;
42-
};
43-
4439
static const struct acpi_device_id ac_device_ids[] = {
4540
{"ACPI0003", 0},
4641
{"", 0},

0 commit comments

Comments
 (0)