net: Revert unused variable changes.
This reverts commits:c573972c11
1a5904342c
da2e2c2149
They were meant for net-next not net. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
497574c72c
commit
7a1a0cbfeb
|
@ -1016,6 +1016,7 @@ static void bmac_set_multicast(struct net_device *dev)
|
||||||
static void bmac_set_multicast(struct net_device *dev)
|
static void bmac_set_multicast(struct net_device *dev)
|
||||||
{
|
{
|
||||||
struct netdev_hw_addr *ha;
|
struct netdev_hw_addr *ha;
|
||||||
|
int i;
|
||||||
unsigned short rx_cfg;
|
unsigned short rx_cfg;
|
||||||
u32 crc;
|
u32 crc;
|
||||||
|
|
||||||
|
|
|
@ -483,6 +483,7 @@ static void korina_multicast_list(struct net_device *dev)
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
struct netdev_hw_addr *ha;
|
struct netdev_hw_addr *ha;
|
||||||
u32 recognise = ETH_ARC_AB; /* always accept broadcasts */
|
u32 recognise = ETH_ARC_AB; /* always accept broadcasts */
|
||||||
|
int i;
|
||||||
|
|
||||||
/* Set promiscuous mode */
|
/* Set promiscuous mode */
|
||||||
if (dev->flags & IFF_PROMISC)
|
if (dev->flags & IFF_PROMISC)
|
||||||
|
|
|
@ -995,6 +995,7 @@ static void bigmac_set_multicast(struct net_device *dev)
|
||||||
struct bigmac *bp = netdev_priv(dev);
|
struct bigmac *bp = netdev_priv(dev);
|
||||||
void __iomem *bregs = bp->bregs;
|
void __iomem *bregs = bp->bregs;
|
||||||
struct netdev_hw_addr *ha;
|
struct netdev_hw_addr *ha;
|
||||||
|
int i;
|
||||||
u32 tmp, crc;
|
u32 tmp, crc;
|
||||||
|
|
||||||
/* Disable the receiver. The bit self-clears when
|
/* Disable the receiver. The bit self-clears when
|
||||||
|
|
Loading…
Reference in New Issue