Skip to content

Commit

Permalink
net: ethernet: apple: drop unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emilio López authored and David S. Miller committed May 23, 2013
1 parent bcef9a8 commit da2e2c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/apple/bmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit da2e2c2

Please sign in to comment.