Remove unused variable.

Found by:       FlexeLint
This commit is contained in:
Poul-Henning Kamp 2003-05-31 19:03:20 +00:00
parent 78b52202d0
commit 80fcafb161

View File

@ -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.
*/