提交 e35fac80 编写于 作者: C Cyrill Gorcunov 提交者: David S. Miller

net: pppoe - get rid of DECLARE_MAC_BUF

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: NCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4fe1d58b
...@@ -1004,7 +1004,6 @@ static int pppoe_seq_show(struct seq_file *seq, void *v) ...@@ -1004,7 +1004,6 @@ static int pppoe_seq_show(struct seq_file *seq, void *v)
{ {
struct pppox_sock *po; struct pppox_sock *po;
char *dev_name; char *dev_name;
DECLARE_MAC_BUF(mac);
if (v == SEQ_START_TOKEN) { if (v == SEQ_START_TOKEN) {
seq_puts(seq, "Id Address Device\n"); seq_puts(seq, "Id Address Device\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册