diff options
author | njl <njl@FreeBSD.org> | 2006-02-21 03:19:24 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2006-02-21 03:19:24 +0000 |
commit | 032f0115d079b591bdd59c76e456d0167f747284 (patch) | |
tree | b5a985808a8740fac12453fabc555918a110e40d /sys/dev/fdc | |
parent | ffd936fa8caad00e8b3db0e415c2f2b90c8c24a9 (diff) | |
download | FreeBSD-src-032f0115d079b591bdd59c76e456d0167f747284.zip FreeBSD-src-032f0115d079b591bdd59c76e456d0167f747284.tar.gz |
Remove unused variable.
Coverity ID: 558
Found by: Coverity Prevent
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r-- | sys/dev/fdc/fdc_acpi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc_acpi.c b/sys/dev/fdc/fdc_acpi.c index 49320bc..c3cb9b9 100644 --- a/sys/dev/fdc/fdc_acpi.c +++ b/sys/dev/fdc/fdc_acpi.c @@ -98,7 +98,6 @@ fdc_acpi_attach(device_t dev) device_t bus; int error, fde_count, i; ACPI_OBJECT *obj, *pkg; - ACPI_HANDLE h; uint32_t fde[ACPI_FDC_MAXDEVS]; /* Get our softc and use the same accessor as ISA. */ @@ -107,7 +106,6 @@ fdc_acpi_attach(device_t dev) /* Initialize variables and get a temporary buffer for _FDE. */ error = ENXIO; - h = acpi_get_handle(dev); buf.Length = ACPI_FDC_BUFLEN; buf.Pointer = malloc(buf.Length, M_TEMP, M_NOWAIT | M_ZERO); if (buf.Pointer == NULL) |