summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bay.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-10-21 07:15:41 +0200
committerLen Brown <len.brown@intel.com>2007-02-03 07:11:41 +0100
commit5447cbb278fd01c402180ab1e820b95101e782fa (patch)
tree1669efb9e614a3ebe42a542d4cc69f88b08023ed /drivers/acpi/bay.c
parentACPI: bay: new driver adding removable drive bay support (diff)
downloadlinux-5447cbb278fd01c402180ab1e820b95101e782fa.tar.xz
linux-5447cbb278fd01c402180ab1e820b95101e782fa.zip
ACPI: bay: delete unused variable
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>
Diffstat (limited to 'drivers/acpi/bay.c')
-rw-r--r--drivers/acpi/bay.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c
index 1cfc0b74b58c..412590d48011 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");