diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-14 09:14:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-21 15:46:32 +0200 |
commit | 6987738dfa4cdd8ef68149c2fe644d9c20397d76 (patch) | |
tree | 3ad653300f70e7419169b654b6761c6c9d3c20d5 /drivers/base/node.c | |
parent | watchdog: bcm_kona_wdt: no need to check return value of debugfs_create funct... (diff) | |
download | linux-6987738dfa4cdd8ef68149c2fe644d9c20397d76.tar.xz linux-6987738dfa4cdd8ef68149c2fe644d9c20397d76.zip |
6lowpan: 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.
Because we don't care if debugfs works or not, this trickles back a bit
so we can clean things up by making some functions return void instead
of an error value that is never going to fail.
Cc: Alexander Aring <alex.aring@gmail.com>
Cc: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-bluetooth@vger.kernel.org
Cc: linux-wpan@vger.kernel.org
Cc: netdev@vger.kernel.org
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions