summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2014-06-16 13:14:05 -0400
committerDavid S. Miller <davem@davemloft.net>2014-06-16 21:33:50 -0700
commit9ebe24356f5c80fbc0afe0e206be46f91c7a1358 (patch)
tree4299f8df44424116899424260f12a00c495cfbbd /drivers
parent42e1358e103de0fe07d3e8ff40c16bb1fa844e26 (diff)
net: tile: fix unused variable warning
'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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/tile/tilegx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/tile/tilegx.c b/drivers/net/ethernet/tile/tilegx.c
index 14389f841d43..4c70360967c2 100644
--- a/drivers/net/ethernet/tile/tilegx.c
+++ b/drivers/net/ethernet/tile/tilegx.c
@@ -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;