crypto: zip - remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 22 Sep 2022 11:27:53 +0000 (11:27 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Sep 2022 05:57:50 +0000 (13:57 +0800)
commit4edff849f7a0abca962374512907b3e2151091f4
tree0de83f4282fd50d4c90caedced26352847a2e0e7
parent72f6e0ea2b0ecea8585f3cd4298286c85c5121e6
crypto: zip - remove the unneeded result variable

Return the value 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/cavium/zip/zip_crypto.c