提交 7a1a0cbf 编写于 作者: D David S. Miller

net: Revert unused variable changes.

This reverts commits:

c573972c
1a590434
da2e2c21

They were meant for net-next not net.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 497574c7
......@@ -1016,6 +1016,7 @@ 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;
......
......@@ -483,6 +483,7 @@ static void korina_multicast_list(struct net_device *dev)
unsigned long flags;
struct netdev_hw_addr *ha;
u32 recognise = ETH_ARC_AB; /* always accept broadcasts */
int i;
/* Set promiscuous mode */
if (dev->flags & IFF_PROMISC)
......
......@@ -995,6 +995,7 @@ static void bigmac_set_multicast(struct net_device *dev)
struct bigmac *bp = netdev_priv(dev);
void __iomem *bregs = bp->bregs;
struct netdev_hw_addr *ha;
int i;
u32 tmp, crc;
/* Disable the receiver. The bit self-clears when
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册