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

From: Herbert Xu
Date: Fri Sep 09 2022 - 05:08:34 EST


On Thu, Sep 01, 2022 at 07:43:48AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> Return the value cptvf_send_msg_to_pf_timeout() directly instead of
> storing it in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>
> ---
> .../crypto/marvell/octeontx/otx_cptvf_mbox.c | 20 +++++--------------
> 1 file changed, 5 insertions(+), 15 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