From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Date: Wed, 14 Mar 2018 20:51:19 +0000 Subject: Re: sctp: use proc_remove_subtree() Message-Id: <20180314205119.GZ30522@ZenIV.linux.org.uk> List-Id: References: <20180314204621.GY30522@ZenIV.linux.org.uk> In-Reply-To: <20180314204621.GY30522@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netdev@vger.kernel.org Cc: linux-sctp@vger.kernel.org On Wed, Mar 14, 2018 at 08:46:21PM +0000, Al Viro wrote: > use proc_remove_subtree() for subtree removal, both on setup failure > halfway through and on teardown. No need to make simple things > complex... ... and sctp_dbg_objcnt_exit() can be removed as well - remove_proc_subtree() will get that sucker automatically. Either a trivial addition, or equally trivial followup...