The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1666

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Long Wang <[email protected]>
From 157ad8d409691d43a27b94c4d7b44f21c410833e Mon Sep 17 00:00:00 2001
From: 0x0916 <[email protected]>
Date: Sun, 2 Jul 2017 19:45:41 +0800
Subject: [PATCH] remove the unused macro

Signed-off-by: Long Wang <[email protected]>
---
 src/lxc/lxclock.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/lxc/lxclock.c b/src/lxc/lxclock.c
index e9e95f7a0..393eec0a9 100644
--- a/src/lxc/lxclock.c
+++ b/src/lxc/lxclock.c
@@ -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;
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to