diff --git a/include/spdk/thread.h b/include/spdk/thread.h index 35b5578fd..a6f3cb5ae 100644 --- a/include/spdk/thread.h +++ b/include/spdk/thread.h @@ -328,7 +328,6 @@ const char *spdk_thread_get_name(const struct spdk_thread *thread); struct spdk_thread_stats { uint64_t busy_tsc; uint64_t idle_tsc; - uint64_t unknown_tsc; }; /** diff --git a/lib/thread/thread.c b/lib/thread/thread.c index 5e0623a45..6f16c1ca4 100644 --- a/lib/thread/thread.c +++ b/lib/thread/thread.c @@ -532,9 +532,6 @@ spdk_thread_poll(struct spdk_thread *thread, uint32_t max_msgs, uint64_t now) } else if (rc > 0) { /* Poller status busy */ thread->stats.busy_tsc += now - thread->tsc_last; - } else { - /* Poller status unknown */ - thread->stats.unknown_tsc += now - thread->tsc_last; } thread->tsc_last = now;