crypto: octeontx - Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 1 Sep 2022 07:43:48 +0000 (07:43 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Sep 2022 08:18:33 +0000 (16:18 +0800)
commit24ddd4e1dbfcf530b89c3d994789cc2e57cbe713
tree8b11d9d7dc93ae69b34293fba25d0030fda5ca4e
parentbc155c6c188c2f0c5749993b1405673d25a80389
crypto: octeontx - Remove the unneeded result variable

Return the value cptvf_send_msg_to_pf_timeout() directly instead of
storing it in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c