crypto: octeontx2 - Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 20 Sep 2022 06:47:54 +0000 (06:47 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Sep 2022 05:57:50 +0000 (13:57 +0800)
commit0cb3c9cdf7fcc2ef75a6008223d2e3ee58ea00e1
tree7829e04dc5f9fcd36f558606d8653c9111d82687
parent6a40fb0d9db15f95b9ea884fbaedf8f82c51399f
crypto: octeontx2 - Remove the unneeded result variable

Return the value otx2_cpt_send_mbox_msg() 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/octeontx2/otx2_cptvf_mbox.c