mmc: core: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2019 08:25:28 +0000 (10:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Jun 2019 11:30:49 +0000 (13:30 +0200)
commita04c50aaa916f8c5704ef8292928095ccb4469b6
tree41473db486190d194a38dc239bbd1b32a5bb3dc6
parent163367c952e7dc9ae7c286bf4a42d0cbe974d7f7
mmc: core: 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: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/debugfs.c
drivers/mmc/core/mmc_test.c