test/blobfs/cache_ut: remove unused g_sem variable
Change-Id: Iee668de1f7253273f88d1468739c9dcb16101546 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
321d28ef02
commit
c09faf35d9
@ -38,7 +38,6 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include <semaphore.h>
|
||||
|
||||
#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);
|
||||
|
Loading…
Reference in New Issue
Block a user