net: ethernet: apple: drop unused variable
authorEmilio López <emilio@elopez.com.ar>
Wed, 22 May 2013 13:57:35 +0000 (13:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2013 06:42:44 +0000 (23:42 -0700)
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>
drivers/net/ethernet/apple/bmac.c

index f36bbd6..8848190 100644 (file)
@@ -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;