drivers/crypto: remove dead code for NXP driver names
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.
Signed-off-by David Marchand <[email protected]>
--- 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
@@ -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
@@ -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
David Marchand
AppliedQuoted 5 lines · David Marchand
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 <[email protected]>
Applied.
Signature · 1 line
David Marchand