OSDN Git Service

powerpc/powernv: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Feb 2020 10:59:01 +0000 (11:59 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Mar 2020 11:44:26 +0000 (22:44 +1100)
commitf344f0ab993987ae29cb39cc52054d7346db082f
tree3a971f94e35f4c20a1e0de5461e5ddf8fc8e4124
parente04906aa1fbaf435b9a1f2ec6bbe7971a3ef8e42
powerpc/powernv: 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>
Reviewed-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200209105901.1620958-6-gregkh@linuxfoundation.org
arch/powerpc/platforms/powernv/memtrace.c
arch/powerpc/platforms/powernv/opal-imc.c
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/vas-debug.c