summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-aes.c
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2019-12-13 10:54:46 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-12-20 07:58:34 +0100
commit644c247e8e35f36d6850bcc1da56a4cb79780825 (patch)
treeaf25b1acfc01c545e8f29c6b73ec71dc5d2a2d3d /drivers/crypto/atmel-aes.c
parentcrypto: atmel-{aes,sha} - Fix incorrect use of dmaengine_terminate_all() (diff)
downloadlinux-644c247e8e35f36d6850bcc1da56a4cb79780825.tar.xz
linux-644c247e8e35f36d6850bcc1da56a4cb79780825.zip
crypto: atmel-{aes,sha,tdes} - Drop duplicate init of dma_slave_config.direction
The 'direction' member of the dma_slave_config will be going away as it duplicates the direction given in the prepare call. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-aes.c')
-rw-r--r--drivers/crypto/atmel-aes.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c
index c3f0e99d24b0..d5a116693010 100644
--- a/drivers/crypto/atmel-aes.c
+++ b/drivers/crypto/atmel-aes.c
@@ -817,7 +817,6 @@ static int atmel_aes_dma_transfer_start(struct atmel_aes_dev *dd,
int err;
memset(&config, 0, sizeof(config));
- config.direction = dir;
config.src_addr_width = addr_width;
config.dst_addr_width = addr_width;
config.src_maxburst = maxburst;