mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
Remove unused variable.
Found by: FlexeLint
This commit is contained in:
parent
78b52202d0
commit
80fcafb161
1 changed files with 0 additions and 3 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue