diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c index 1cfc0b74b58cb2cab45ce09eb464ea34405f1dbe..412590d4801174bde8703c23f2543e6fc499527a 100644 --- a/drivers/acpi/bay.c +++ b/drivers/acpi/bay.c @@ -488,7 +488,6 @@ static struct acpi_device * bay_create_acpi_device(acpi_handle handle) static void bay_notify(acpi_handle handle, u32 event, void *data) { struct acpi_device *dev; - struct bay *bay = data; bay_dprintk(handle, "Bay event");