summaryrefslogtreecommitdiffstats
path: root/drivers/net/macb.c
diff options
context:
space:
mode:
authorvibi sreenivasan <vibi_sreenivasan@cms.com>2009-03-25 00:30:20 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-25 00:30:20 +0100
commitde7927457a2e12d89f37b744fb258d2ae68cdb56 (patch)
treefd5dba393b5405dfa1417af3c07cc1e4e99163f2 /drivers/net/macb.c
parentucc_geth: Convert to net_device_ops (diff)
downloadlinux-de7927457a2e12d89f37b744fb258d2ae68cdb56.tar.xz
linux-de7927457a2e12d89f37b744fb258d2ae68cdb56.zip
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/macb.c')
-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;