summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-05-22 13:57:36 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-05-23 06:42:44 (GMT)
commit1a5904342c7380ceddd61c0b37544d752d0b1433 (patch)
tree47e2681523b193629eb69a1bd6d3b32fb0bc84b2 /drivers/net/ethernet
parentda2e2c214953f37c2a6be20226537ca5a329724c (diff)
downloadlinux-fsl-qoriq-1a5904342c7380ceddd61c0b37544d752d0b1433.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet')
-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 5409fe8..907e94a 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)