]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Nov 2019 08:52:00 +0000 (09:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Nov 2019 03:51:40 +0000 (11:51 +0800)
commit889f21fc28ca33ab03ba192b666e78771f8dbd4d
treee9058c4f1ade42c30ea639c4dc986d7d2ad99684
parent8c33c37f3d9bc75eebfd78939a29bdc63a8532d8
crypto: hisilicon: 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.

Cc: Zhou Wang <wangzhou1@hisilicon.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Link: https://lore.kernel.org/r/20191107085200.GB1274176@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/zip/zip_main.c