Patchwork [net-next-2.6] net: pppoe - get rid of DECLARE_MAC_BUF

login
register
mail settings
Submitter Cyrill Gorcunov
Date Jan. 22, 2009, 5:25 p.m.
Message ID <20090122172508.GC20140@localhost>
Download mbox | patch
Permalink /patch/19846/
State Accepted
Delegated to: David Miller
Headers show

Comments

Cyrill Gorcunov - Jan. 22, 2009, 5:25 p.m.
While was playing with PPP namespaces I occasionally brought
back DECLARE_MAC_BUF which is not needed (we have %pM here).
Fix it.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
---
 drivers/net/pppoe.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
David Miller - Jan. 22, 2009, 9:52 p.m.
From: Cyrill Gorcunov <gorcunov@gmail.com>
Date: Thu, 22 Jan 2009 20:25:08 +0300

> While was playing with PPP namespaces I occasionally brought
> back DECLARE_MAC_BUF which is not needed (we have %pM here).
> Fix it.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>

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

Patch

Index: linux-2.6.git/drivers/net/pppoe.c
===================================================================
--- linux-2.6.git.orig/drivers/net/pppoe.c
+++ linux-2.6.git/drivers/net/pppoe.c
@@ -1004,7 +1004,6 @@  static int pppoe_seq_show(struct seq_fil
 {
 	struct pppox_sock *po;
 	char *dev_name;
-	DECLARE_MAC_BUF(mac);
 
 	if (v == SEQ_START_TOKEN) {
 		seq_puts(seq, "Id       Address              Device\n");