diff options
author | David S. Miller <davem@davemloft.net> | 2012-09-21 15:23:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-21 15:23:12 -0400 |
commit | 0bfd6075cf23d960198235b52f2fe941d7b397a2 (patch) | |
tree | 2e27f387a43601db36d22e27b2417300ea8d0d52 /drivers/net/ethernet/sun | |
parent | 10f3f51d56648f4eaf5c9f7aee27c418b833c3c0 (diff) | |
download | talos-op-linux-0bfd6075cf23d960198235b52f2fe941d7b397a2.tar.gz talos-op-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>
Diffstat (limited to 'drivers/net/ethernet/sun')
-rw-r--r-- | drivers/net/ethernet/sun/sunbmac.c | 1 |
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; |