aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-05-23 12:15:32 -0700
committerDavid S. Miller <davem@davemloft.net>2013-05-23 12:15:32 -0700
commit7a1a0cbfeb31f20acc10722642198e76bbc30cb9 (patch)
treec2ea99d235ebb095b172981dbaf9a696f62df540 /drivers/net/ethernet
parent497574c72c9922cf20c12aed15313c389f722fa0 (diff)
downloadvexpress-lsk-7a1a0cbfeb31f20acc10722642198e76bbc30cb9.tar.gz
net: Revert unused variable changes.
This reverts commits: c573972c111eb4c6b3f3250ad71e7c75cc799833 1a5904342c7380ceddd61c0b37544d752d0b1433 da2e2c214953f37c2a6be20226537ca5a329724c They were meant for net-next not net. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/apple/bmac.c1
-rw-r--r--drivers/net/ethernet/korina.c1
-rw-r--r--drivers/net/ethernet/sun/sunbmac.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c
index 8848190e403..f36bbd6d508 100644
--- a/drivers/net/ethernet/apple/bmac.c
+++ b/drivers/net/ethernet/apple/bmac.c
@@ -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;
diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c
index 907e94a3fb0..5409fe876a4 100644
--- a/drivers/net/ethernet/korina.c
+++ b/drivers/net/ethernet/korina.c
@@ -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)
diff --git a/drivers/net/ethernet/sun/sunbmac.c b/drivers/net/ethernet/sun/sunbmac.c
index 85d3b6bec16..054975939a1 100644
--- a/drivers/net/ethernet/sun/sunbmac.c
+++ b/drivers/net/ethernet/sun/sunbmac.c
@@ -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