diff --git a/include/spdk/env.h b/include/spdk/env.h index 9c168aefa..3e2018ac8 100644 --- a/include/spdk/env.h +++ b/include/spdk/env.h @@ -468,13 +468,6 @@ uint32_t spdk_env_get_core_count(void); */ uint32_t spdk_env_get_current_core(void); -/** - * Get the index of the primary dedicated CPU core for this application. - * - * \return the index of the primary dedicated CPU core. - */ -uint32_t spdk_env_get_primary_core(void); - /** * Get the index of the first dedicated CPU core for this application. * diff --git a/lib/env_dpdk/spdk_env_dpdk.map b/lib/env_dpdk/spdk_env_dpdk.map index be2f27feb..a465f0938 100644 --- a/lib/env_dpdk/spdk_env_dpdk.map +++ b/lib/env_dpdk/spdk_env_dpdk.map @@ -33,7 +33,6 @@ spdk_mempool_lookup; spdk_env_get_core_count; spdk_env_get_current_core; - spdk_env_get_primary_core; spdk_env_get_first_core; spdk_env_get_last_core; spdk_env_get_next_core; diff --git a/lib/env_dpdk/threads.c b/lib/env_dpdk/threads.c index 8831b8c38..01c7b8d9f 100644 --- a/lib/env_dpdk/threads.c +++ b/lib/env_dpdk/threads.c @@ -48,12 +48,6 @@ spdk_env_get_current_core(void) return rte_lcore_id(); } -uint32_t -spdk_env_get_primary_core(void) -{ - return rte_get_master_lcore(); -} - uint32_t spdk_env_get_first_core(void) {