Re: [PATCH v2] net: tile: fix unused variable warning
From: Chris Metcalf Date: Mon, 16 Jun 2014 13:14:05 -0400 > '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 > --- > v2: includes previous commit's summary line as suggested by Sergei Shtylyov. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH v2] 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 --- v2: includes previous commit's summary line as suggested by Sergei Shtylyov. drivers/net/ethernet/tile/tilegx.c | 1 - 1 file changed, 1 deletion(-) 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; -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH v2] 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 cmetc...@tilera.com --- v2: includes previous commit's summary line as suggested by Sergei Shtylyov. drivers/net/ethernet/tile/tilegx.c | 1 - 1 file changed, 1 deletion(-) 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; -- 1.8.3.1 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH v2] net: tile: fix unused variable warning
From: Chris Metcalf cmetc...@tilera.com Date: Mon, 16 Jun 2014 13:14:05 -0400 '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 cmetc...@tilera.com --- v2: includes previous commit's summary line as suggested by Sergei Shtylyov. Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/