summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-31 21:58:55 +0000
committerpeter <peter@FreeBSD.org>2003-05-31 21:58:55 +0000
commit73a59225a5a609d23575f17ab3da8edd37746f34 (patch)
treec555d26b24176590f34b3a2e5d59555994670c97 /sys
parent2c128d084485849aec0c09047e0db1b7def7fb94 (diff)
downloadFreeBSD-src-73a59225a5a609d23575f17ab3da8edd37746f34.zip
FreeBSD-src-73a59225a5a609d23575f17ab3da8edd37746f34.tar.gz
MFi386: rev 1.50: remove unused variable
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/nexus.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/amd64/amd64/nexus.c b/sys/amd64/amd64/nexus.c
index a854252..6f2142d 100644
--- a/sys/amd64/amd64/nexus.c
+++ b/sys/amd64/amd64/nexus.c
@@ -411,7 +411,6 @@ static int
nexus_setup_intr(device_t bus, device_t child, struct resource *irq,
int flags, void (*ihand)(void *), void *arg, void **cookiep)
{
- driver_t *driver;
int error;
/* somebody tried to setup an irq that failed to allocate! */
@@ -422,8 +421,6 @@ nexus_setup_intr(device_t bus, device_t child, struct resource *irq,
if ((irq->r_flags & RF_SHAREABLE) == 0)
flags |= INTR_EXCL;
- driver = device_get_driver(child);
-
/*
* We depend here on rman_activate_resource() being idempotent.
*/
OpenPOWER on IntegriCloud