MFi386: rev 1.50: remove unused variable
This commit is contained in:
parent
2c128d0844
commit
73a59225a5
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user