[PATCH linux-next] crypto: nx - Remove the unneeded result variable

Herbert Xu herbert at gondor.apana.org.au
Fri Sep 9 19:08:54 AEST 2022


On Fri, Sep 02, 2022 at 07:30:55AM +0000, cgel.zte at gmail.com wrote:
> From: ye xingchen <ye.xingchen at zte.com.cn>
> 
> Return the value set_msg_len() directly instead of storing it in another
> redundant variable.
> 
> Reported-by: Zeal Robot <zealci at zte.com.cn>
> Signed-off-by: ye xingchen <ye.xingchen at zte.com.cn>
> ---
>  drivers/crypto/nx/nx-aes-ccm.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

Patch applied.  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 Linuxppc-dev mailing list