aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-26 18:10:00 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-26 18:10:00 -0500
commit2d5451d2614583de0c9aaf61cf5f77faf5694105 (patch)
tree03237a37f949b384ca59698b24f72f397c99959d /drivers/infiniband
parent0da2afd59653d2edf5c8e0f09b23f367ab5bc80f (diff)
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/infiniband')
-rw-r--r--drivers/infiniband/hw/nes/nes_nic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c
index 80e7a4d98d5b..57a47cf7e513 100644
--- a/drivers/infiniband/hw/nes/nes_nic.c
+++ b/drivers/infiniband/hw/nes/nes_nic.c
@@ -99,7 +99,6 @@ static int nics_per_function = 1;
99static int nes_netdev_poll(struct napi_struct *napi, int budget) 99static int nes_netdev_poll(struct napi_struct *napi, int budget)
100{ 100{
101 struct nes_vnic *nesvnic = container_of(napi, struct nes_vnic, napi); 101 struct nes_vnic *nesvnic = container_of(napi, struct nes_vnic, napi);
102 struct net_device *netdev = nesvnic->netdev;
103 struct nes_device *nesdev = nesvnic->nesdev; 102 struct nes_device *nesdev = nesvnic->nesdev;
104 struct nes_hw_nic_cq *nescq = &nesvnic->nic_cq; 103 struct nes_hw_nic_cq *nescq = &nesvnic->nic_cq;
105 104