diff options
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/atmel-tdes.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/atmel-tdes.c b/drivers/crypto/atmel-tdes.c index a5e78aa08bf0..8b7bc1076e0d 100644 --- a/drivers/crypto/atmel-tdes.c +++ b/drivers/crypto/atmel-tdes.c @@ -1263,9 +1263,7 @@ err_tasklet_kill: static int atmel_tdes_remove(struct platform_device *pdev) { - struct atmel_tdes_dev *tdes_dd; - - tdes_dd = platform_get_drvdata(pdev); + struct atmel_tdes_dev *tdes_dd = platform_get_drvdata(pdev); spin_lock(&atmel_tdes.lock); list_del(&tdes_dd->list); |