Remove unused variable.
Coverity ID: 548 Found by: Coverity Prevent
This commit is contained in:
parent
4a3bc69e9e
commit
ffd936fa8c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user