remove the unused macro

Signed-off-by: Long Wang <w@laoqinren.net>
This commit is contained in:
0x0916 2017-07-02 19:45:41 +08:00 committed by Long Wang
parent 05e7cd4aec
commit 157ad8d409

View File

@ -39,11 +39,6 @@
#define MAX_STACKDEPTH 25
#define OFLAG (O_CREAT | O_RDWR)
#define SEMMODE 0660
#define SEMVALUE 1
#define SEMVALUE_LOCKED 0
lxc_log_define(lxc_lock, lxc);
#ifdef MUTEX_DEBUGGING
@ -65,7 +60,7 @@ static inline void dump_stacktrace(void)
for (i = 0; i < size; i++)
fprintf(stderr, "\t\t%s\n", strings[i]);
free (strings);
free(strings);
}
#else
static pthread_mutex_t thread_mutex = PTHREAD_MUTEX_INITIALIZER;