ACPI: bay: delete unused variable
authorLen Brown <len.brown@intel.com>
Sat, 21 Oct 2006 05:15:41 +0000 (01:15 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 3 Feb 2007 06:11:41 +0000 (01:11 -0500)
drivers/acpi/bay.c: In function ‘bay_notify’:
drivers/acpi/bay.c:491: warning: unused variable ‘bay’

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/bay.c

index 1cfc0b74b58cb2cab45ce09eb464ea34405f1dbe..412590d4801174bde8703c23f2543e6fc499527a 100644 (file)
@@ -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");