diff --git a/test/lib/blobfs/cache_ut/cache_ut.c b/test/lib/blobfs/cache_ut/cache_ut.c index 1d4a90b40c..0ebbedcd9f 100644 --- a/test/lib/blobfs/cache_ut/cache_ut.c +++ b/test/lib/blobfs/cache_ut/cache_ut.c @@ -38,7 +38,6 @@ #include #include #include -#include #include "spdk/blobfs.h" #include "spdk/env.h" @@ -58,8 +57,6 @@ int g_fserrno; struct spdk_bs_dev g_dev; -sem_t g_sem; - struct ut_request { fs_request_fn fn; void *arg; @@ -269,7 +266,6 @@ int main(int argc, char **argv) } init_dev(&g_dev); - sem_init(&g_sem, 0, 0); pthread_create(&spdk_tid, NULL, spdk_thread, NULL); g_dev_buffer = calloc(1, DEV_BUFFER_SIZE); CU_basic_set_mode(CU_BRM_VERBOSE);