From: Greg Kroah-Hartman <gre...@linuxfoundation.org> Date: Fri, 14 Jun 2019 09:04:38 +0200
> When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Also, there is no need to store the individual debugfs file name, just > remove the whole directory all at once, saving a local variable. > > Cc: "David S. Miller" <da...@davemloft.net> > Cc: Guillaume Nault <g.na...@alphalink.fr> > Cc: netdev@vger.kernel.org > Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> Applied.