summaryrefslogtreecommitdiff
path: root/arch/csky
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-14 10:04:38 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-14 18:45:05 +0300
commit3adcfa4478661463dd8eb91f3717c5bdd77633eb (patch)
treee1b44d00e899a9823d98f7678a3874d6ad0b5325 /arch/csky
parent0b55b630352e259b7bf5de3980393afdab6c2f4a (diff)
downloadlinux-3adcfa4478661463dd8eb91f3717c5bdd77633eb.tar.xz
l2tp: no need to check return value of debugfs_create functions
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" <davem@davemloft.net> Cc: Guillaume Nault <g.nault@alphalink.fr> Cc: netdev@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Guillaume Nault <gnault@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/csky')
0 files changed, 0 insertions, 0 deletions