* [PATCH] gianfar: remove unused DECLARE_MAC_BUF
@ 2009-07-15 15:18 Johannes Berg
2009-07-15 18:31 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2009-07-15 15:18 UTC (permalink / raw)
To: netdev; +Cc: Kumar Gala
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(-)
--- 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gianfar: remove unused DECLARE_MAC_BUF
2009-07-15 15:18 [PATCH] gianfar: remove unused DECLARE_MAC_BUF Johannes Berg
@ 2009-07-15 18:31 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-07-15 18:31 UTC (permalink / raw)
To: johannes; +Cc: netdev, galak
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-15 18:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15 15:18 [PATCH] gianfar: remove unused DECLARE_MAC_BUF Johannes Berg
2009-07-15 18:31 ` 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).