diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2018-06-25 17:07:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-26 16:55:51 +0300 |
commit | 877375e4856c9d1b98aec30ff736896b333449e7 (patch) | |
tree | a2060b8dd64b1d7b6fbc1b135a1b276003e36066 /net/l2tp/l2tp_ppp.c | |
parent | 1d7229ddc73543d63d0b234ecdf15f8d709c7017 (diff) | |
download | linux-877375e4856c9d1b98aec30ff736896b333449e7.tar.xz |
l2tp: remove pppol2tp_session_close()
l2tp_core.c verifies that ->session_close() is defined before calling
it. There's no need for a stub.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_ppp.c')
-rw-r--r-- | net/l2tp/l2tp_ppp.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/l2tp/l2tp_ppp.c b/net/l2tp/l2tp_ppp.c index 55188382845c..eea5d7844473 100644 --- a/net/l2tp/l2tp_ppp.c +++ b/net/l2tp/l2tp_ppp.c @@ -424,12 +424,6 @@ static void pppol2tp_put_sk(struct rcu_head *head) sock_put(ps->__sk); } -/* Called by l2tp_core when a session socket is being closed. - */ -static void pppol2tp_session_close(struct l2tp_session *session) -{ -} - /* Really kill the session socket. (Called from sock_put() if * refcnt == 0.) */ @@ -573,7 +567,6 @@ static void pppol2tp_session_init(struct l2tp_session *session) struct dst_entry *dst; session->recv_skb = pppol2tp_recv; - session->session_close = pppol2tp_session_close; #if IS_ENABLED(CONFIG_L2TP_DEBUGFS) session->show = pppol2tp_show; #endif |