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

2022-09-09 Thread Herbert Xu
On Fri, Sep 02, 2022 at 07:30:55AM +, cgel@gmail.com wrote: > From: ye xingchen > > Return the value set_msg_len() directly instead of storing it in another > redundant variable. > > Reported-by: Zeal Robot > Signed-off-by: ye xingchen > --- > drivers/crypto/nx/nx-aes-ccm.c | 5 +

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

2022-09-02 Thread cgel . zte
From: ye xingchen Return the value set_msg_len() directly instead of storing it in another redundant variable. Reported-by: Zeal Robot Signed-off-by: ye xingchen --- drivers/crypto/nx/nx-aes-ccm.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/crypto/nx/nx-aes