summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvibi sreenivasan <vibi_sreenivasan@cms.com>2009-03-24 16:30:20 -0700
committerDavid S. Miller <davem@davemloft.net>2009-03-24 16:30:20 -0700
commitde7927457a2e12d89f37b744fb258d2ae68cdb56 (patch)
treefd5dba393b5405dfa1417af3c07cc1e4e99163f2
parenta9dbae78506b2099985c4ca9975f079c94cb8165 (diff)
macb: fix warning "warning: unused variable `dev' "
Removed unused variable dev Signed-off-by: vibi sreenivasan <vibi_sreenivasan@cms.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/macb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 872c1bdf42b..f50501013b1 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -513,7 +513,6 @@ static int macb_rx(struct macb *bp, int budget)
static int macb_poll(struct napi_struct *napi, int budget)
{
struct macb *bp = container_of(napi, struct macb, napi);
- struct net_device *dev = bp->dev;
int work_done;
u32 status;