OpenCloudOS-Kernel/drivers/crypto/chelsio
Gustavo A. R. Silva abfa2b377f crypto: chcr - Replace _manual_ swap with swap macro
Make use of the swap macro and remove unnecessary variable temp.
This makes the code easier to read and maintain.

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-11-06 14:45:35 +08:00
..
Kconfig crypto: chcr - Add AEAD algos. 2016-11-30 20:01:51 +08:00
Makefile crypto: Added Chelsio Menu to the Kconfig file 2016-08-19 00:00:37 -07:00
chcr_algo.c crypto: chcr - Replace _manual_ swap with swap macro 2017-11-06 14:45:35 +08:00
chcr_algo.h crypto: chelsio - Move DMA un/mapping to chcr from lld cxgb4 driver 2017-11-03 21:50:46 +08:00
chcr_core.c crypto: chelsio - Fix memory leak 2017-11-03 21:50:46 +08:00
chcr_core.h crypto: chelsio - Remove allocation of sg list to implement 2K limit of dsgl header 2017-11-03 21:50:45 +08:00
chcr_crypto.h crypto: chelsio - Move DMA un/mapping to chcr from lld cxgb4 driver 2017-11-03 21:50:46 +08:00