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

Submitted by Cyrill Gorcunov on Jan. 22, 2009, 5:25 p.m.

Details

Message ID 20090122172508.GC20140@localhost
State Accepted
Delegated to: David Miller
Headers show

Commit Message

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

Comments

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 hide | download patch | download mbox

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");