summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-05-22 13:57:35 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-05-23 06:42:44 (GMT)
commitda2e2c214953f37c2a6be20226537ca5a329724c (patch)
tree33fee7a822c381c66074a2f28108ae3df83e28a3 /drivers/net/ethernet
parentbcef9a8f6f1dcff2a9bbe4ee21bfc50cc230984b (diff)
downloadlinux-da2e2c214953f37c2a6be20226537ca5a329724c.tar.xz
net: ethernet: apple: drop unused variable
Commit 3b0aaef ("net: ethernet: apple: 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. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/apple/bmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c
index f36bbd6..8848190 100644
--- a/drivers/net/ethernet/apple/bmac.c
+++ b/drivers/net/ethernet/apple/bmac.c
@@ -1016,7 +1016,6 @@ static void bmac_set_multicast(struct net_device *dev)
static void bmac_set_multicast(struct net_device *dev)
{
struct netdev_hw_addr *ha;
- int i;
unsigned short rx_cfg;
u32 crc;