linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] net: tile: fix unused variable warning
@ 2014-06-16 17:14 Chris Metcalf
  2014-06-17  4:34 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Metcalf @ 2014-06-16 17:14 UTC (permalink / raw)
  To: netdev, linux-kernel, Sergei Shtylyov, Tobias Klauser

'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>
---
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] net: tile: fix unused variable warning
  2014-06-16 17:14 [PATCH v2] net: tile: fix unused variable warning Chris Metcalf
@ 2014-06-17  4:34 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-06-17  4:34 UTC (permalink / raw)
  To: cmetcalf; +Cc: netdev, linux-kernel, sergei.shtylyov, tklauser

From: Chris Metcalf <cmetcalf@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 <cmetcalf@tilera.com>
> ---
> v2: includes previous commit's summary line as suggested by Sergei Shtylyov.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-17  4:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-16 17:14 [PATCH v2] net: tile: fix unused variable warning Chris Metcalf
2014-06-17  4:34 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).