提交 1a590434 编写于 作者: E Emilio López 提交者: David S. Miller

net: ethernet: korina: drop unused variable

Commit e998fd41 ("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: NEmilio López <emilio@elopez.com.ar>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 da2e2c21
...@@ -483,7 +483,6 @@ static void korina_multicast_list(struct net_device *dev) ...@@ -483,7 +483,6 @@ static void korina_multicast_list(struct net_device *dev)
unsigned long flags; unsigned long flags;
struct netdev_hw_addr *ha; struct netdev_hw_addr *ha;
u32 recognise = ETH_ARC_AB; /* always accept broadcasts */ u32 recognise = ETH_ARC_AB; /* always accept broadcasts */
int i;
/* Set promiscuous mode */ /* Set promiscuous mode */
if (dev->flags & IFF_PROMISC) if (dev->flags & IFF_PROMISC)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册