diff mbox

gianfar: remove unused DECLARE_MAC_BUF

Message ID 1247671139.10754.3.camel@johannes.local
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Johannes Berg July 15, 2009, 3:18 p.m. UTC
The use of it was converted to %pM, but the variable
stuck -- remove it now to not cause spurious warnings.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 drivers/net/gianfar.c |    1 -
 1 file changed, 1 deletion(-)



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

Comments

David Miller July 15, 2009, 6:31 p.m. UTC | #1
From: Johannes Berg <johannes@sipsolutions.net>
Date: Wed, 15 Jul 2009 17:18:59 +0200

> The use of it was converted to %pM, but the variable
> stuck -- remove it now to not cause spurious warnings.
> 
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

Applied to net-next-2.6, thanks.
--
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
diff mbox

Patch

--- wireless-testing.orig/drivers/net/gianfar.c	2009-07-15 17:11:36.000000000 +0200
+++ wireless-testing/drivers/net/gianfar.c	2009-07-15 17:11:43.000000000 +0200
@@ -304,7 +304,6 @@  static int gfar_probe(struct of_device *
 	u32 tempval;
 	struct net_device *dev = NULL;
 	struct gfar_private *priv = NULL;
-	DECLARE_MAC_BUF(mac);
 	int err = 0;
 	int len_devname;