Skip to content

l2tp: remove unused code

Guillaume Nault netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4l2tp: remove ->ref() and ->deref()net/l2tp/l2tp_core.c net/l2tp/l2tp_core.h net/l2tp/l2tp_debugfs.c +4 more+25 -790 replies
2/4l2tp: remove l2tp specific refcount debuggingnet/l2tp/l2tp_core.h+2 -220 replies
3/4l2tp: remove l2tp_tunnel_count and l2tp_session_countnet/l2tp/l2tp_core.c+0 -100 replies
4/4l2tp: remove field 'dev' from struct l2tp_ethnet/l2tp/l2tp_eth.c+0 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/4] l2tp: remove unused code

Patch #1 removes the ref/deref mechanism that was originally used to prevent ppp pseudowires from dropping their sockets. This mechanism was error prone and isn't used anymore.

Patch #2 removes some module specific refcount debugging. Patches #3 and #4 take care of some dead code.

Guillaume Nault (4):
l2tp: remove ->ref() and ->deref()
l2tp: remove l2tp specific refcount debugging
l2tp: remove l2tp_tunnel_count and l2tp_session_count
l2tp: remove field 'dev' from struct l2tp_eth

 net/l2tp/l2tp_core.c    | 62 +++++++------------------------------------------
 net/l2tp/l2tp_core.h    | 34 ++++-----------------------
 net/l2tp/l2tp_debugfs.c |  4 +---
 net/l2tp/l2tp_eth.c     |  5 ----
 net/l2tp/l2tp_ip.c      |  4 +---
 net/l2tp/l2tp_ip6.c     |  4 +---
 net/l2tp/l2tp_netlink.c | 20 +++++++---------
 net/l2tp/l2tp_ppp.c     | 10 +++-----
 8 files changed, 27 insertions(+), 116 deletions(-)
Signature · 1 line
2.15.0