Commit da2e2c214953f37c2a6be20226537ca5a329724c

Authored by Emilio López
Committed by David S. Miller
1 parent bcef9a8f6f

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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

drivers/net/ethernet/apple/bmac.c
... ... @@ -1016,7 +1016,6 @@
1016 1016 static void bmac_set_multicast(struct net_device *dev)
1017 1017 {
1018 1018 struct netdev_hw_addr *ha;
1019   - int i;
1020 1019 unsigned short rx_cfg;
1021 1020 u32 crc;
1022 1021