Re: [PATCH] crypto: cbc - fix coding style

From: Herbert Xu
Date: Fri Apr 09 2021 - 03:28:30 EST


On Thu, Apr 01, 2021 at 03:31:41PM +0800, Zhiqi Song wrote:
> Fixed following checkpatch error:
> - do not use assignment in if condition
>
> Signed-off-by: Zhiqi Song <songzhiqi1@xxxxxxxxxx>
> ---
> crypto/cbc.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

This patch does not appear to improve the code.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt