]> 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)
commit21aae28a76de05f58b0e4082cde00ac02f82040b
treec1369e7eff40bb1cbe4e8acf7f85a5b3b0e4e234
parent4d6cc31680ab7a0607e743eaf9abd87399123772
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 e48779ab46e8 ("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