summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2024-10-10 21:45:15 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2024-10-19 02:44:30 +0200
commit8dc981ba2fadb3580450aeee99e4d63183fff1c3 (patch)
tree4306804c7b45526fbc00d5cee713d1c10a0bcce3 /drivers/crypto
parentcrypto: cesa - use enabled variants for clk_get (diff)
downloadlinux-8dc981ba2fadb3580450aeee99e4d63183fff1c3.tar.xz
linux-8dc981ba2fadb3580450aeee99e4d63183fff1c3.zip
crypto: cesa - remove irq_set_affinity_hint
This is unnecessary as the irqs are devm managed. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/marvell/cesa/cesa.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/crypto/marvell/cesa/cesa.c b/drivers/crypto/marvell/cesa/cesa.c
index 614e41c98e87..30f6ee99a8f8 100644
--- a/drivers/crypto/marvell/cesa/cesa.c
+++ b/drivers/crypto/marvell/cesa/cesa.c
@@ -566,11 +566,8 @@ static int mv_cesa_probe(struct platform_device *pdev)
return 0;
err_cleanup:
- for (i = 0; i < caps->nengines; i++) {
+ for (i = 0; i < caps->nengines; i++)
mv_cesa_put_sram(pdev, i);
- if (cesa->engines[i].irq > 0)
- irq_set_affinity_hint(cesa->engines[i].irq, NULL);
- }
return ret;
}
@@ -582,10 +579,8 @@ static void mv_cesa_remove(struct platform_device *pdev)
mv_cesa_remove_algs(cesa);
- for (i = 0; i < cesa->caps->nengines; i++) {
+ for (i = 0; i < cesa->caps->nengines; i++)
mv_cesa_put_sram(pdev, i);
- irq_set_affinity_hint(cesa->engines[i].irq, NULL);
- }
}
static const struct platform_device_id mv_cesa_plat_id_table[] = {