From: Hanjun Guo Date: Sat, 17 Sep 2022 09:45:09 +0000 (+0800) Subject: ACPI: AC: Remove the leftover struct acpi_ac_bl X-Git-Tag: baikal/mips/sdk6.1~4779^2~3^3 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=9ebb09dd27ea430543b6e31f2aeb30bc8528f36e;p=kernel.git ACPI: AC: Remove the leftover struct acpi_ac_bl In commit cd97cfa77bb7 ("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 Reviewed-by: Hans de Goede Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c index c29e41bfcf35d..bb9fe7984b1a0 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c @@ -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},