Re: [PATCH 3/7] crypto: axis: no need to check return value of debugfs_create functions

From: Lars Persson
Date: Wed Jan 23 2019 - 02:37:24 EST



On 1/22/19 4:14 PM, Greg Kroah-Hartman wrote:
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: Jesper Nilsson <jesper.nilsson@xxxxxxxx>
Cc: Lars Persson <lars.persson@xxxxxxxx>
Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxx
Cc: linux-crypto@xxxxxxxxxxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
drivers/crypto/axis/artpec6_crypto.c | 9 ---------
1 file changed, 9 deletions(-)

Acked-by: Lars Persson <lars.persson@xxxxxxxx>

Thanks,
Lars