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>
This commit is contained in:

committed by
Herbert Xu

parent
0e69378940
commit
644c247e8e
@@ -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;
|
||||
|
Reference in New Issue
Block a user