]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
l2tp: remove .show from struct l2tp_tunnel
authorGuillaume Nault <g.nault@alphalink.fr>
Mon, 25 Jun 2018 14:07:19 +0000 (16:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 13:55:51 +0000 (22:55 +0900)
This callback has never been implemented.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.h
net/l2tp/l2tp_debugfs.c

index c199020f8a8a315590a53f89aaf9370debcb09db..b21c20a4e08f1aa518954213586ac615328d402d 100644 (file)
@@ -180,9 +180,6 @@ struct l2tp_tunnel {
        struct net              *l2tp_net;      /* the net we belong to */
 
        refcount_t              ref_count;
-#ifdef CONFIG_DEBUG_FS
-       void (*show)(struct seq_file *m, void *arg);
-#endif
        int (*recv_payload_hook)(struct sk_buff *skb);
        void (*old_sk_destruct)(struct sock *);
        struct sock             *sock;          /* Parent socket */
index e87686f7d63ca7d98f9bcb60e72d36a684324d21..b5d7dde003ef9f2fa6c39bf5940ee523cbc7ea53 100644 (file)
@@ -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)