ACPI: Fix unused variable warning in sbs.c
authorRakib Mullick <rakib.mullick@gmail.com>
Sun, 3 Jan 2010 13:27:56 +0000 (19:27 +0600)
committerLen Brown <len.brown@intel.com>
Sat, 16 Jan 2010 21:04:18 +0000 (16:04 -0500)
commitc19bdb6126a5e1f43b4a4fc3c4b09c926667e5ef
treec3a8da51ed0bf5f365fe28b5fcc32fd6673012ce
parentc97adf9e7bebf17a86b95e2131bf9ba76c4857c7
ACPI: Fix unused variable warning in sbs.c

When CONFIG_ACPI_SYSFS_POWER=n and CONFIG_ACPI_PROCFS_POWER=n, then
we're warned by the following warning:

drivers/acpi/sbs.c: In function `acpi_battery_remove':
drivers/acpi/sbs.c:825: warning: unused variable `battery'

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sbs.c