diff --git a/include/spdk/event.h b/include/spdk/event.h index d367df0d3..1ad8c9528 100644 --- a/include/spdk/event.h +++ b/include/spdk/event.h @@ -183,20 +183,6 @@ int spdk_app_parse_core_mask(const char *mask, struct spdk_cpuset *cpumask); */ struct spdk_cpuset *spdk_app_get_core_mask(void); -/** - * Get the number of CPU cores utilized by this application - * - * \return the number of the utilized CPU cores. - */ -int spdk_app_get_core_count(void) __attribute__((deprecated)); - -/** - * Get the lcore of the current thread. - * - * \return the lcore of the current thread. - */ -uint32_t spdk_app_get_current_core(void) __attribute__((deprecated)); - #define SPDK_APP_GETOPT_STRING "c:de:hi:m:n:p:qr:s:t:" /** diff --git a/lib/event/reactor.c b/lib/event/reactor.c index 11fa870fa..56c356aea 100644 --- a/lib/event/reactor.c +++ b/lib/event/reactor.c @@ -548,18 +548,6 @@ spdk_reactor_construct(struct spdk_reactor *reactor, uint32_t lcore, uint64_t ma reactor->event_mempool = g_spdk_event_mempool[reactor->socket_id]; } -int -spdk_app_get_core_count(void) -{ - return spdk_env_get_core_count(); -} - -uint32_t -spdk_app_get_current_core(void) -{ - return spdk_env_get_current_core(); -} - int spdk_app_parse_core_mask(const char *mask, struct spdk_cpuset *cpumask) {