sctp: use proc_remove_subtree()
authorAl Viro <viro@ZenIV.linux.org.uk>
Fri, 16 Mar 2018 23:32:51 +0000 (23:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:11:22 +0000 (20:11 -0400)
commitd47d08c8ca052df3d9fde7cfff518660335b16e7
treed71c38e8e93706a871edfbfa0eab429fe1622156
parent90e2c7a1248d422cb21665ff6da52442c245963d
sctp: use proc_remove_subtree()

use proc_remove_subtree() for subtree removal, both on setup failure
halfway through and on teardown.  No need to make simple things
complex...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
net/sctp/objcnt.c
net/sctp/proc.c
net/sctp/protocol.c