mips: cavium: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 14:57:38 +0000 (15:57 +0100)
committerPaul Burton <paul.burton@mips.com>
Tue, 22 Jan 2019 19:16:45 +0000 (11:16 -0800)
commit9afbb71320f8f1a24ca4f343752653616b55406e
tree4f19a97c51a8b96502e9b31c5e49db8c09f6774a
parentf263f2a2c682fddc7521a1d1efc01d58e1d70d84
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>
arch/mips/cavium-octeon/oct_ilm.c