diff options
author | Emilio López <emilio@elopez.com.ar> | 2013-05-22 09:57:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-23 02:42:44 -0400 |
commit | da2e2c214953f37c2a6be20226537ca5a329724c (patch) | |
tree | 33fee7a822c381c66074a2f28108ae3df83e28a3 | |
parent | bcef9a8f6f1dcff2a9bbe4ee21bfc50cc230984b (diff) |
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>
-rw-r--r-- | drivers/net/ethernet/apple/bmac.c | 1 |
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) | |||
1016 | static void bmac_set_multicast(struct net_device *dev) | 1016 | static void bmac_set_multicast(struct net_device *dev) |
1017 | { | 1017 | { |
1018 | struct netdev_hw_addr *ha; | 1018 | struct netdev_hw_addr *ha; |
1019 | int i; | ||
1020 | unsigned short rx_cfg; | 1019 | unsigned short rx_cfg; |
1021 | u32 crc; | 1020 | u32 crc; |
1022 | 1021 | ||