]> Pileus Git - ~andy/linux/commitdiff
net: Restore unintentional reverts.
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 19:43:40 +0000 (12:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 19:43:40 +0000 (12:43 -0700)
This restores commits:

c573972c111eb4c6b3f3250ad71e7c75cc799833
1a5904342c7380ceddd61c0b37544d752d0b1433
da2e2c214953f37c2a6be20226537ca5a329724c

which initially accidently went into 'net', were
reverted there, and then properly placed into 'net-next'.
But the next net --> net-next merge accidently wiped them
out again.

Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apple/bmac.c
drivers/net/ethernet/korina.c
drivers/net/ethernet/sun/sunbmac.c

index 714dcfe3a46929e7757011aaf01a15c517c129c3..a597b766f0809d3b1e1893e9ec008fcdc813405f 100644 (file)
@@ -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;
 
index 64646eb39e8bc23f31454041e68959bf0b4e6f32..270e65f21102415d554d115956644c862e02725e 100644 (file)
@@ -483,7 +483,6 @@ 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)
index 09b4f8c0b199a390cf0ed8a7206e2788308f0818..0d43fa9ff9801ccbc19a74510f9aef952e22a3f8 100644 (file)
@@ -995,7 +995,6 @@ 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