aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-05-22 09:57:36 -0400
committerDavid S. Miller <davem@davemloft.net>2013-05-23 02:42:44 -0400
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)
483 unsigned long flags; 483 unsigned long flags;
484 struct netdev_hw_addr *ha; 484 struct netdev_hw_addr *ha;
485 u32 recognise = ETH_ARC_AB; /* always accept broadcasts */ 485 u32 recognise = ETH_ARC_AB; /* always accept broadcasts */
486 int i;
487 486
488 /* Set promiscuous mode */ 487 /* Set promiscuous mode */
489 if (dev->flags & IFF_PROMISC) 488 if (dev->flags & IFF_PROMISC)