diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 17:57:38 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-01-22 22:16:45 +0300 |
commit | 9afbb71320f8f1a24ca4f343752653616b55406e (patch) | |
tree | 4f19a97c51a8b96502e9b31c5e49db8c09f6774a /arch/mips/ralink | |
parent | f263f2a2c682fddc7521a1d1efc01d58e1d70d84 (diff) | |
download | linux-9afbb71320f8f1a24ca4f343752653616b55406e.tar.xz |
mips: cavium: 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.
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[paul.burton@mips.com:
Remove return 0 from init_debugfs() as pointed out by Aaro Koskinen.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Diffstat (limited to 'arch/mips/ralink')
0 files changed, 0 insertions, 0 deletions