net: tile: fix unused variable warning
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 16 Jun 2014 17:14:05 +0000 (13:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2014 04:33:50 +0000 (21:33 -0700)
'i' is unused in tile_net_dev_init() after commit d581ebf5a1f
("net: tile: Use helpers from linux/etherdevice.h to check/set MAC").

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tile/tilegx.c

index 14389f8..4c70360 100644 (file)
@@ -2191,7 +2191,6 @@ static void tile_net_setup(struct net_device *dev)
 static void tile_net_dev_init(const char *name, const uint8_t *mac)
 {
        int ret;
-       int i;
        struct net_device *dev;
        struct tile_net_priv *priv;