diff options
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rw-r--r-- | drivers/net/qla3xxx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index 33e8e62b4502..189ec29ac7a4 100644 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c | |||
@@ -2284,7 +2284,6 @@ static int ql_tx_rx_clean(struct ql3_adapter *qdev, | |||
2284 | static int ql_poll(struct napi_struct *napi, int budget) | 2284 | static int ql_poll(struct napi_struct *napi, int budget) |
2285 | { | 2285 | { |
2286 | struct ql3_adapter *qdev = container_of(napi, struct ql3_adapter, napi); | 2286 | struct ql3_adapter *qdev = container_of(napi, struct ql3_adapter, napi); |
2287 | struct net_device *ndev = qdev->ndev; | ||
2288 | int rx_cleaned = 0, tx_cleaned = 0; | 2287 | int rx_cleaned = 0, tx_cleaned = 0; |
2289 | unsigned long hw_flags; | 2288 | unsigned long hw_flags; |
2290 | struct ql3xxx_port_registers __iomem *port_regs = qdev->mem_map_registers; | 2289 | struct ql3xxx_port_registers __iomem *port_regs = qdev->mem_map_registers; |