summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-05-22 13:57:36 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-22 23:42:44 -0700
commit1a5904342c7380ceddd61c0b37544d752d0b1433 (patch)
tree47e2681523b193629eb69a1bd6d3b32fb0bc84b2
parentda2e2c214953f37c2a6be20226537ca5a329724c (diff)
net: ethernet: korina: drop unused variable
Commit e998fd4 ("net: ethernet: korina: initialize variables directly") dropped the only loop that was using i but did not remove the actual variable, therefore causing a warning when building. This patch drops the now redundant line. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/korina.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c
index 5409fe876a44..907e94a3fb06 100644
--- a/drivers/net/ethernet/korina.c
+++ b/drivers/net/ethernet/korina.c
@@ -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)