[PATCH 1/7] crypto: atmel-aes: Drop if with an always false condition

Herbert Xu herbert at gondor.apana.org.au
Fri Jul 15 01:47:19 PDT 2022


On Tue, Jul 05, 2022 at 10:51:38PM +0200, Uwe Kleine-König wrote:
> The remove callback is only called after probe completed successfully.
> In this case platform_set_drvdata() was called with a non-NULL argument
> and so aes_dd is never NULL.
> 
> This is a preparation for making platform remove callbacks return void.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
>  drivers/crypto/atmel-aes.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

All applid.  Thanks.
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list