summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/process.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 15:57:38 +0100
committerPaul Burton <paul.burton@mips.com>2019-01-22 11:16:45 -0800
commit9afbb71320f8f1a24ca4f343752653616b55406e (patch)
tree4f19a97c51a8b96502e9b31c5e49db8c09f6774a /arch/mips/kernel/process.c
parentf263f2a2c682fddc7521a1d1efc01d58e1d70d84 (diff)
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/kernel/process.c')
0 files changed, 0 insertions, 0 deletions