diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 19:03:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 19:03:20 +0000 |
commit | 1c8a4fd968063a6a58db964bf63308a1a036e1c5 (patch) | |
tree | 0040eb5cda854c8c8ce6451e296e223c9fd7d1c4 /sys | |
parent | 34a06ba63b02f71ce4a4dd18822b85a8b3078dd5 (diff) | |
download | FreeBSD-src-1c8a4fd968063a6a58db964bf63308a1a036e1c5.zip FreeBSD-src-1c8a4fd968063a6a58db964bf63308a1a036e1c5.tar.gz |
Remove unused variable.
Found by: FlexeLint
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/i386/nexus.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/i386/i386/nexus.c b/sys/i386/i386/nexus.c index 3894222..1fa3283 100644 --- a/sys/i386/i386/nexus.c +++ b/sys/i386/i386/nexus.c @@ -456,7 +456,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! */ @@ -467,8 +466,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. */ |