diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2017-11-11 06:06:29 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-11 22:08:23 +0900 |
commit | 8fdfd6595bd739d8338fd1f3d553a9a34ed9824c (patch) | |
tree | da074c6ce5d5efc6be9d99a1df2d8c85aea23c7a /net | |
parent | 93f7ea74371273db09b30b9a19ff4d5de22f464d (diff) | |
download | linux-8fdfd6595bd739d8338fd1f3d553a9a34ed9824c.tar.bz2 |
l2tp: remove .tunnel_sock from struct l2tp_eth
This field has never been used.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/l2tp/l2tp_eth.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/l2tp/l2tp_eth.c b/net/l2tp/l2tp_eth.c index 3e2dec1fb0f5..5c366ecfa1cb 100644 --- a/net/l2tp/l2tp_eth.c +++ b/net/l2tp/l2tp_eth.c @@ -41,7 +41,6 @@ /* via netdev_priv() */ struct l2tp_eth { - struct sock *tunnel_sock; struct l2tp_session *session; atomic_long_t tx_bytes; atomic_long_t tx_packets; @@ -313,7 +312,6 @@ static int l2tp_eth_create(struct net *net, struct l2tp_tunnel *tunnel, priv = netdev_priv(dev); priv->session = session; - priv->tunnel_sock = tunnel->sock; session->recv_skb = l2tp_eth_dev_recv; session->session_close = l2tp_eth_delete; #if IS_ENABLED(CONFIG_L2TP_DEBUGFS) |