mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
crypto: atmel-{aes,sha,tdes} - Stop passing unused argument in _dma_init()
pdata is not used. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
644c247e8e
commit
827a98df67
3 changed files with 6 additions and 9 deletions
|
@ -2270,8 +2270,7 @@ static void atmel_aes_buff_cleanup(struct atmel_aes_dev *dd)
|
|||
free_page((unsigned long)dd->buf);
|
||||
}
|
||||
|
||||
static int atmel_aes_dma_init(struct atmel_aes_dev *dd,
|
||||
struct crypto_platform_data *pdata)
|
||||
static int atmel_aes_dma_init(struct atmel_aes_dev *dd)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@ -2598,7 +2597,7 @@ static int atmel_aes_probe(struct platform_device *pdev)
|
|||
if (err)
|
||||
goto err_iclk_unprepare;
|
||||
|
||||
err = atmel_aes_dma_init(aes_dd, pdata);
|
||||
err = atmel_aes_dma_init(aes_dd);
|
||||
if (err)
|
||||
goto err_buff_cleanup;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue