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

'i' is unused in tile_net_dev_init() after commit d581ebf5a1f.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
---
 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] net: tile: fix unused variable warning
  2014-06-16 17:14 [PATCH] net: tile: fix unused variable warning Chris Metcalf
@ 2014-06-16 17:46 ` Sergei Shtylyov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2014-06-16 17:46 UTC (permalink / raw)
  To: Chris Metcalf, netdev, linux-kernel

Hello.

On 06/16/2014 09:14 PM, Chris Metcalf wrote:

> 'i' is unused in tile_net_dev_init() after commit d581ebf5a1f.

    Please also specify that commit's summary line in parens.

> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>

WBR, Sergei

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

end of thread, other threads:[~2014-06-16 17:46 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] net: tile: fix unused variable warning Chris Metcalf
2014-06-16 17:46 ` Sergei Shtylyov

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).