Skip to content

Commit da2e2c2

Browse files
elopezdavem330
authored andcommitted
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>
1 parent bcef9a8 commit da2e2c2

File tree

1 file changed

+0
-1
lines changed
  • drivers/net/ethernet/apple

1 file changed

+0
-1
lines changed

drivers/net/ethernet/apple/bmac.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,6 @@ static void bmac_set_multicast(struct net_device *dev)
10161016
static void bmac_set_multicast(struct net_device *dev)
10171017
{
10181018
struct netdev_hw_addr *ha;
1019-
int i;
10201019
unsigned short rx_cfg;
10211020
u32 crc;
10221021

0 commit comments

Comments
 (0)