Remove unused variable.

Coverity ID:	548
Found by:	Coverity Prevent
This commit is contained in:
njl 2006-02-21 03:16:58 +00:00
parent 4a3bc69e9e
commit ffd936fa8c

View File

@ -134,9 +134,7 @@ acpi_smbat_attach(device_t dev)
static int
acpi_smbat_shutdown(device_t dev)
{
struct acpi_smbat_softc *sc;
sc = device_get_softc(dev);
acpi_battery_remove(dev);
return (0);
}