Patchwork net: sh_eth: remove unused variable

login
register
mail settings
Submitter Kuninori Morimoto
Date Aug. 19, 2010, 7:35 a.m.
Message ID <w3pwrrnt5qq.wl%kuninori.morimoto.gx@renesas.com>
Download mbox | patch
Permalink /patch/62113/
State Accepted
Delegated to: David Miller
Headers show

Comments

Kuninori Morimoto - Aug. 19, 2010, 7:35 a.m.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 drivers/net/sh_eth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - Aug. 19, 2010, 7:39 a.m.
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date: Thu, 19 Aug 2010 16:35:09 +0900 (JST)

> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index f5a9eb1..79fd02b 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -1437,7 +1437,7 @@  static const struct net_device_ops sh_eth_netdev_ops = {
 
 static int sh_eth_drv_probe(struct platform_device *pdev)
 {
-	int ret, i, devno = 0;
+	int ret, devno = 0;
 	struct resource *res;
 	struct net_device *ndev = NULL;
 	struct sh_eth_private *mdp;