event: remove two deprecated functions
Change-Id: I68820dc3b12934bc6bbc88872bf4bef44a05c396 Signed-off-by: Yanbo Zhou <yanbo.zhou@intel.com> Reviewed-on: https://review.gerrithub.io/402489 Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
f4b5aa7dd8
commit
d79ae3e253
@ -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:"
|
||||
|
||||
/**
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user