summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorvibi sreenivasan <vibi_sreenivasan@cms.com>2009-03-25 02:30:20 +0300
committerDavid S. Miller <davem@davemloft.net>2009-03-25 02:30:20 +0300
commitde7927457a2e12d89f37b744fb258d2ae68cdb56 (patch)
treefd5dba393b5405dfa1417af3c07cc1e4e99163f2 /drivers/net
parenta9dbae78506b2099985c4ca9975f079c94cb8165 (diff)
downloadlinux-de7927457a2e12d89f37b744fb258d2ae68cdb56.tar.xz
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>
Diffstat (limited to 'drivers/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 872c1bdf42bd..f50501013b1c 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;