l2tp: remove ->ref() and ->deref()
authorGuillaume Nault <g.nault@alphalink.fr>
Tue, 31 Oct 2017 16:36:42 +0000 (17:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 01:57:24 +0000 (10:57 +0900)
commita4346210c4e092de50594b728300766121a3b00d
tree6bc724bdea1a3e2e15a25a996a20596b85803c6e
parentaa2bc739ef4a181a7589eb009be96a870cc1788f
l2tp: remove ->ref() and ->deref()

The ->ref() and ->deref() callbacks are unused since PPP stopped using
them in ee40fb2e1eb5 ("l2tp: protect sock pointer of struct pppol2tp_session with RCU").

We can thus remove them from struct l2tp_session and drop the do_ref
parameter of l2tp_session_get*().

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