2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 23:23:55 +08:00
linux-next/drivers/crypto/chelsio
Colin Ian King d7fc6cfdf1 crypto: chelsio - remove redundant assignments to reqctx and dst_size
Pointer reqctx is assigned the same value twice, once on initialization
and again a few statements later, remove the second redundant assignment.
Variable dst_size is assigned but it is never read, so the variable is
redundant and can be removed. Cleans up clang warnings:

drivers/crypto/chelsio/chcr_algo.c:156:29: warning: Value stored to
'reqctx' during its initialization is never read
drivers/crypto/chelsio/chcr_algo.c:2020:2: warning: Value stored to
'dst_size' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-11-29 16:43:48 +11:00
..
chcr_algo.c crypto: chelsio - remove redundant assignments to reqctx and dst_size 2017-11-29 16:43:48 +11: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
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