Commit 26b9df9d by Christian Brauner Committed by GitHub

Merge pull request #1666 from 0x0916/2017-07-02/remove-unused-code

remove the unused macro
parents c6f7b951 157ad8d4
...@@ -39,11 +39,6 @@ ...@@ -39,11 +39,6 @@
#define MAX_STACKDEPTH 25 #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); lxc_log_define(lxc_lock, lxc);
#ifdef MUTEX_DEBUGGING #ifdef MUTEX_DEBUGGING
...@@ -65,7 +60,7 @@ static inline void dump_stacktrace(void) ...@@ -65,7 +60,7 @@ static inline void dump_stacktrace(void)
for (i = 0; i < size; i++) for (i = 0; i < size; i++)
fprintf(stderr, "\t\t%s\n", strings[i]); fprintf(stderr, "\t\t%s\n", strings[i]);
free (strings); free(strings);
} }
#else #else
static pthread_mutex_t thread_mutex = PTHREAD_MUTEX_INITIALIZER; static pthread_mutex_t thread_mutex = PTHREAD_MUTEX_INITIALIZER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment