futex: No need to check return value of debugfs_create functions
commit0365aeba50841e087b3d6a0eca1bddccc5e650c8
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 15:21:39 +0000 (22 16:21 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Jan 2019 19:15:48 +0000 (29 20:15 +0100)
tree77a49e316adf80b20e64e6830e3fd4017a53da9a
parentbba2a8f1f974a45ca6ceaf688b2be7bc1c418a2f
futex: 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.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190122152151.16139-40-gregkh@linuxfoundation.org
kernel/futex.c