crypto: marvell/octeontx - Use swap() instead of open coding it
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 4 Mar 2022 05:57:42 +0000 (13:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 9 Mar 2022 03:12:31 +0000 (15:12 +1200)
commitee6584bf3c680e20464e20bf28066d1ce685f7d3
tree325c199007b2b9f73d60a0af4efb9a25e8ae0e56
parent3d950c34074ed74d2713c3856ba01264523289e6
crypto: marvell/octeontx - Use swap() instead of open coding it

Clean the following coccicheck warning:

./drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1645:16-17: WARNING
opportunity for swap().

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c