]> git.baikalelectronics.ru Git - kernel.git/commit
s390/zcore: no need to check return value of debugfs_create functions
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Fri, 26 Feb 2021 10:21:05 +0000 (11:21 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 8 Mar 2021 09:46:28 +0000 (10:46 +0100)
commitf5a6e19fdb018905694723d43c8f257f54680268
treec1369e7eff40bb1cbe4e8acf7f85a5b3b0e4e234
parentbdcef5b98aab3d1dddb8c6171f71b56e77789125
s390/zcore: 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.

See commit faf69b5f4b13 ("s390: no need to check return value of debugfs_create functions").

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/zcore.c