Skip to content

Commit 7a1a0cb

Browse files
committed
net: Revert unused variable changes.
This reverts commits: c573972 1a59043 da2e2c2 They were meant for net-next not net. Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 497574c commit 7a1a0cb

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

drivers/net/ethernet/apple/bmac.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,7 @@ 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;
10191020
unsigned short rx_cfg;
10201021
u32 crc;
10211022

drivers/net/ethernet/korina.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ static void korina_multicast_list(struct net_device *dev)
483483
unsigned long flags;
484484
struct netdev_hw_addr *ha;
485485
u32 recognise = ETH_ARC_AB;/* always accept broadcasts */
486+
int i;
486487

487488
/* Set promiscuous mode */
488489
if (dev->flags & IFF_PROMISC)

drivers/net/ethernet/sun/sunbmac.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,7 @@ static void bigmac_set_multicast(struct net_device *dev)
995995
struct bigmac *bp = netdev_priv(dev);
996996
void __iomem *bregs = bp->bregs;
997997
struct netdev_hw_addr *ha;
998+
int i;
998999
u32 tmp, crc;
9991000

10001001
/* Disable the receiver. The bit self-clears when

0 commit comments

Comments
 (0)