summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-05-22 13:57:37 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-22 23:42:45 -0700
commitc573972c111eb4c6b3f3250ad71e7c75cc799833 (patch)
tree74125fd4b444eb1cb07bd0bd8caa7b4ee910c4d8 /drivers
parent1a5904342c7380ceddd61c0b37544d752d0b1433 (diff)
net: ethernet: sun: drop unused variable
Commit bfd428d ("net: ethernet: sun: initialize variables directly") dropped the only loop that was using i but did not remove the actual variable, therefore causing a warning when building. This patch drops the now redundant line. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-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 054975939a18..85d3b6bec160 100644
--- a/drivers/net/ethernet/sun/sunbmac.c
+++ b/drivers/net/ethernet/sun/sunbmac.c
@@ -995,7 +995,6 @@ static void bigmac_set_multicast(struct net_device *dev)
struct bigmac *bp = netdev_priv(dev);
void __iomem *bregs = bp->bregs;
struct netdev_hw_addr *ha;
- int i;
u32 tmp, crc;
/* Disable the receiver. The bit self-clears when