summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2006-02-21 03:16:58 +0000
committernjl <njl@FreeBSD.org>2006-02-21 03:16:58 +0000
commitffd936fa8caad00e8b3db0e415c2f2b90c8c24a9 (patch)
tree7c9b5a36f22cd98e6d728712f576113ac773f4ad /sys
parent4a3bc69e9e8a583d48f5fed5273326c6a3b2ad4b (diff)
downloadFreeBSD-src-ffd936fa8caad00e8b3db0e415c2f2b90c8c24a9.zip
FreeBSD-src-ffd936fa8caad00e8b3db0e415c2f2b90c8c24a9.tar.gz
Remove unused variable.
Coverity ID: 548 Found by: Coverity Prevent
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpica/acpi_smbat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_smbat.c b/sys/dev/acpica/acpi_smbat.c
index 4383e21..5e1c66e 100644
--- a/sys/dev/acpica/acpi_smbat.c
+++ b/sys/dev/acpica/acpi_smbat.c
@@ -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);
}
OpenPOWER on IntegriCloud