]> Git Repo - linux.git/commitdiff
ACPI: AC: Remove the leftover struct acpi_ac_bl
authorHanjun Guo <[email protected]>
Sat, 17 Sep 2022 09:45:09 +0000 (17:45 +0800)
committerRafael J. Wysocki <[email protected]>
Sat, 24 Sep 2022 16:22:59 +0000 (18:22 +0200)
In commit 57a183222271 ("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]>
drivers/acpi/ac.c

index c29e41bfcf35d1f1d78f3738a33923162dd394b4..bb9fe7984b1a00fe3dae2321dab70979909ea3bf 100644 (file)
@@ -36,11 +36,6 @@ static int acpi_ac_add(struct acpi_device *device);
 static int acpi_ac_remove(struct acpi_device *device);
 static void acpi_ac_notify(struct acpi_device *device, u32 event);
 
-struct acpi_ac_bl {
-       const char *hid;
-       int hrv;
-};
-
 static const struct acpi_device_id ac_device_ids[] = {
        {"ACPI0003", 0},
        {"", 0},
This page took 0.054351 seconds and 4 git commands to generate.