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

Lars Persson
2019-01-23T07:37:24Z

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@axis.com>
> Cc: Lars Persson <lars.persson@axis.com>
> Cc: Herbert Xu <herbert@gondor.apana.org.au>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: linux-arm-kernel@axis.com
> Cc: linux-crypto@vger.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> ---
> drivers/crypto/axis/artpec6_crypto.c | 9 ---------
> 1 file changed, 9 deletions(-)

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

Thanks,
Lars