aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-05-22 13:57:35 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-22 23:42:44 -0700
commitda2e2c214953f37c2a6be20226537ca5a329724c (patch)
tree33fee7a822c381c66074a2f28108ae3df83e28a3 /drivers
parentqmi_wwan: Added support for Cinterion's PLxx WWAN Interface (diff)
downloadlinux-dev-da2e2c214953f37c2a6be20226537ca5a329724c.tar.xz
linux-dev-da2e2c214953f37c2a6be20226537ca5a329724c.zip
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')
-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 f36bbd6d5085..8848190e403d 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;