]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: book3s64: hash_utils: no need to check return value of debugfs_create...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Feb 2020 10:58:58 +0000 (11:58 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Mar 2020 11:44:25 +0000 (22:44 +1100)
commit08f6a7974ab949d43c2584f966db458d255b2b0a
treed0b26e6cd73d6451b2ae227de7c1763066c2f23e
parentc4fd527f52ecb135018655c7f56f87800872c5bc
powerpc/mm: book3s64: hash_utils: 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: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200209105901.1620958-3-gregkh@linuxfoundation.org
arch/powerpc/mm/book3s64/hash_utils.c