diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-27 00:10:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-27 00:10:00 +0100 |
commit | 2d5451d2614583de0c9aaf61cf5f77faf5694105 (patch) | |
tree | 03237a37f949b384ca59698b24f72f397c99959d /drivers/net/qlge | |
parent | gro: Fix potential use after free (diff) | |
download | linux-2d5451d2614583de0c9aaf61cf5f77faf5694105.tar.xz linux-2d5451d2614583de0c9aaf61cf5f77faf5694105.zip |
net: Fix warning fallout from recent NAPI interface changes.
When we removed the network device argument from several
NAPI interfaces in 908a7a16b852ffd618a9127be8d62432182d81b4
("net: Remove unused netdev arg from some NAPI interfaces.")
several drivers now started getting unused variable warnings.
This fixes those up.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge')
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 4070d53c94aa..718a7bd0cd1a 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c @@ -1732,7 +1732,6 @@ static irqreturn_t qlge_msix_tx_isr(int irq, void *dev_id) static irqreturn_t qlge_msix_rx_isr(int irq, void *dev_id) { struct rx_ring *rx_ring = dev_id; - struct ql_adapter *qdev = rx_ring->qdev; netif_rx_schedule(&rx_ring->napi); return IRQ_HANDLED; } |