Skip to contentSkip to conversation

drivers/crypto: remove dead code for NXP driver names

PATCH Applied David Marchand 1 participant 2 messages Oct 9 – Oct 13 Crypto API

lore
Share & tools
lore
#0 lore raw

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

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

---
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 ---
 drivers/crypto/dpaa_sec/dpaa_sec.c          | 3 ---
 2 files changed, 6 deletions(-)
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +0 -3
index 3d980d096f..0d638363aa 100644
@@ -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,
 };
drivers/crypto/dpaa_sec/dpaa_sec.c +0 -3
index c53ee70853..f03efb316d 100644
@@ -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,
 };
Signature · 1 line
2.54.0
author Applied
#1 lore raw
Quoted 5 lines · David Marchand

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

Applied.

Signature · 1 line
David Marchand