summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-09-21 21:23:12 +0200
committerDavid S. Miller <davem@davemloft.net>2012-09-21 21:23:12 +0200
commit0bfd6075cf23d960198235b52f2fe941d7b397a2 (patch)
tree2e27f387a43601db36d22e27b2417300ea8d0d52
parentteam: send port changed when added (diff)
downloadlinux-0bfd6075cf23d960198235b52f2fe941d7b397a2.tar.xz
linux-0bfd6075cf23d960198235b52f2fe941d7b397a2.zip
sunbmac: Remove unused local variable.
Commit eb716c54b1c71ad28ab20461bff831bd481066c4 ("sunbmac: remove unnecessary setting of skb->dev") caused the local varible 'dev' in bigmac_init_rings to become unused. And now the compiler warns about it. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/sun/sunbmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sun/sunbmac.c b/drivers/net/ethernet/sun/sunbmac.c
index 967fe8cb476e..c9c977bf02ac 100644
--- a/drivers/net/ethernet/sun/sunbmac.c
+++ b/drivers/net/ethernet/sun/sunbmac.c
@@ -212,7 +212,6 @@ static void bigmac_clean_rings(struct bigmac *bp)
static void bigmac_init_rings(struct bigmac *bp, int from_irq)
{
struct bmac_init_block *bb = bp->bmac_block;
- struct net_device *dev = bp->dev;
int i;
gfp_t gfp_flags = GFP_KERNEL;