summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-14 09:04:38 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-14 08:45:05 -0700
commit3adcfa4478661463dd8eb91f3717c5bdd77633eb (patch)
treee1b44d00e899a9823d98f7678a3874d6ad0b5325 /include/uapi/linux
parent0b55b630352e259b7bf5de3980393afdab6c2f4a (diff)
downloadtalos-op-linux-3adcfa4478661463dd8eb91f3717c5bdd77633eb.tar.gz
talos-op-linux-3adcfa4478661463dd8eb91f3717c5bdd77633eb.zip
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 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud