diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-26 18:10:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 18:10:00 -0500 |
commit | 2d5451d2614583de0c9aaf61cf5f77faf5694105 (patch) | |
tree | 03237a37f949b384ca59698b24f72f397c99959d /drivers/net/myri10ge | |
parent | 0da2afd59653d2edf5c8e0f09b23f367ab5bc80f (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/net/myri10ge')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index 2da3ce17b981..5e70180bf569 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -1503,7 +1503,6 @@ static int myri10ge_poll(struct napi_struct *napi, int budget) | |||
1503 | { | 1503 | { |
1504 | struct myri10ge_slice_state *ss = | 1504 | struct myri10ge_slice_state *ss = |
1505 | container_of(napi, struct myri10ge_slice_state, napi); | 1505 | container_of(napi, struct myri10ge_slice_state, napi); |
1506 | struct net_device *netdev = ss->mgp->dev; | ||
1507 | int work_done; | 1506 | int work_done; |
1508 | 1507 | ||
1509 | #ifdef CONFIG_MYRI10GE_DCA | 1508 | #ifdef CONFIG_MYRI10GE_DCA |