mbox series

[net-next,0/4] l2tp: remove unused code

Message ID cover.1509466904.git.g.nault@alphalink.fr
Headers show
Series l2tp: remove unused code | expand

Message

Guillaume Nault Oct. 31, 2017, 4:36 p.m. UTC
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(-)

Comments

David Miller Nov. 1, 2017, 1:57 a.m. UTC | #1
From: Guillaume Nault <g.nault@alphalink.fr>
Date: Tue, 31 Oct 2017 17:36:41 +0100

> 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.

Series applied, thanks.