rte_cryptodev_pmd_create_dev_name() has no caller. Drivers build their device names directly, so the helper does not need to be exported as internal.
Signed-off-by: Stephen Hemminger <[email protected]> --- lib/cryptodev/cryptodev_pmd.h | 1 - lib/cryptodev/rte_cryptodev.c | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.h index 929c6defe9..f1512f36c9 100644 --- a/lib/cryptodev/cryptodev_pmd.h +++ b/lib/cryptodev/cryptodev_pmd.h @@ -634,7 +634,6 @@ void rte_cryptodev_pmd_callback_process(struct rte_cryptodev *dev, * @internal * Create unique device name */ -__rte_internal int rte_cryptodev_pmd_create_dev_name(char *name, const char *dev_name_prefix); diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c index 829a5d0846..97121eaf37 100644 --- a/lib/cryptodev/rte_cryptodev.c +++ b/lib/cryptodev/rte_cryptodev.c @@ -2886,7 +2886,6 @@ rte_crypto_op_pool_create(const char *name, enum rte_crypto_op_type type, return mp; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_cryptodev_pmd_create_dev_name) int rte_cryptodev_pmd_create_dev_name(char *name, const char *dev_name_prefix) { -- 2.53.0

