From: Emilio López Date: Wed, 22 May 2013 13:57:35 +0000 (+0000) Subject: net: ethernet: apple: drop unused variable X-Git-Tag: v3.10-rc3~18^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da2e2c214953f37c2a6be20226537ca5a329724c;p=profile%2Fcommon%2Fkernel-common.git net: ethernet: apple: drop unused variable Commit 3b0aaef ("net: ethernet: apple: 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c index f36bbd6..8848190 100644 --- a/drivers/net/ethernet/apple/bmac.c +++ b/drivers/net/ethernet/apple/bmac.c @@ -1016,7 +1016,6 @@ 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;