[PATCH] drivers/crypto: remove dead code for NXP driver names

David Marchand david.marchand at redhat.com
Fri Oct 9 13:48:18 CEST 2026


Both drivers invoke RTE_PMD_REGISTER_DPAA/RTE_PMD_REGISTER_DPAA2 macros
that overwrites the driver name at registration time.

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 ---
 drivers/crypto/dpaa_sec/dpaa_sec.c          | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
index 3d980d096f..0d638363aa 100644
--- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
+++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
@@ -4534,9 +4534,6 @@ cryptodev_dpaa2_sec_remove(struct rte_dpaa2_device *dpaa2_dev)
 static struct rte_dpaa2_driver rte_dpaa2_sec_driver = {
 	.drv_flags = RTE_DPAA2_DRV_IOVA_AS_VA,
 	.drv_type = DPAA2_CRYPTO,
-	.driver = {
-		.name = "DPAA2 SEC PMD"
-	},
 	.probe = cryptodev_dpaa2_sec_probe,
 	.remove = cryptodev_dpaa2_sec_remove,
 };
diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c
index c53ee70853..f03efb316d 100644
--- a/drivers/crypto/dpaa_sec/dpaa_sec.c
+++ b/drivers/crypto/dpaa_sec/dpaa_sec.c
@@ -3848,9 +3848,6 @@ cryptodev_dpaa_sec_remove(struct rte_dpaa_device *dpaa_dev)
 
 static struct rte_dpaa_driver rte_dpaa_sec_driver = {
 	.drv_type = FSL_DPAA_CRYPTO,
-	.driver = {
-		.name = "DPAA SEC PMD"
-	},
 	.probe = cryptodev_dpaa_sec_probe,
 	.remove = cryptodev_dpaa_sec_remove,
 };
-- 
2.54.0



More information about the dev mailing list