diff options
author | brueffer <brueffer@FreeBSD.org> | 2009-05-12 23:22:58 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2009-05-12 23:22:58 +0000 |
commit | 5f1c9ee599c0395cb22c8897256fcf1ac9a89816 (patch) | |
tree | 3bed3c7e64adfe91f3032b2a113aaad68a18a544 /sys/dev/acpi_support/acpi_ibm.c | |
parent | 1e50e07e85470e9f9207ffb57e101aa966fba32c (diff) | |
download | FreeBSD-src-5f1c9ee599c0395cb22c8897256fcf1ac9a89816.zip FreeBSD-src-5f1c9ee599c0395cb22c8897256fcf1ac9a89816.tar.gz |
Remove unused variables.
Found with: Coverity Prevent(tm)
CID: 544, 545
Diffstat (limited to 'sys/dev/acpi_support/acpi_ibm.c')
-rw-r--r-- | sys/dev/acpi_support/acpi_ibm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c index ccb0c06..ca67716 100644 --- a/sys/dev/acpi_support/acpi_ibm.c +++ b/sys/dev/acpi_support/acpi_ibm.c @@ -332,7 +332,6 @@ static int acpi_ibm_attach(device_t dev) { struct acpi_ibm_softc *sc; - struct acpi_softc *acpi_sc; devclass_t ec_devclass; ACPI_FUNCTION_TRACE((char *)(uintptr_t) __func__); @@ -341,8 +340,6 @@ acpi_ibm_attach(device_t dev) sc->dev = dev; sc->handle = acpi_get_handle(dev); - acpi_sc = acpi_device_get_parent_softc(dev); - /* Look for the first embedded controller */ if (!(ec_devclass = devclass_find ("acpi_ec"))) { if (bootverbose) |