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

From: Herbert Xu
Date: Fri Sep 30 2022 - 02:16:24 EST


On Tue, Sep 20, 2022 at 06:47:54AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> Return the value otx2_cpt_send_mbox_msg() directly instead of storing it
> in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>
> ---
> drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)

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