summaryrefslogtreecommitdiff
path: root/net/l2tp/l2tp_debugfs.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-06-25 16:07:19 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-26 22:55:51 +0900
commitc3612f0e901766e1caddabd18e0a34f0e6d82e20 (patch)
treed593c9372b58005c7bf47feba90d80f72a05f4b8 /net/l2tp/l2tp_debugfs.c
parent877375e4856c9d1b98aec30ff736896b333449e7 (diff)
l2tp: remove .show from struct l2tp_tunnel
This callback has never been implemented. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_debugfs.c')
-rw-r--r--net/l2tp/l2tp_debugfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/l2tp/l2tp_debugfs.c b/net/l2tp/l2tp_debugfs.c
index e87686f7d63c..b5d7dde003ef 100644
--- a/net/l2tp/l2tp_debugfs.c
+++ b/net/l2tp/l2tp_debugfs.c
@@ -177,9 +177,6 @@ static void l2tp_dfs_seq_tunnel_show(struct seq_file *m, void *v)
atomic_long_read(&tunnel->stats.rx_packets),
atomic_long_read(&tunnel->stats.rx_bytes),
atomic_long_read(&tunnel->stats.rx_errors));
-
- if (tunnel->show != NULL)
- tunnel->show(m, tunnel);
}
static void l2tp_dfs_seq_session_show(struct seq_file *m, void *v)