Thread (50 messages) 50 messages, 2 authors, 2017-06-08
STALE3299d

[PATCH 24/34] signaltest: remove unused ARRAY_SIZE macro

From: Tommi Rantala <hidden>
Date: 2017-05-22 08:26:34
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Tommi Rantala <redacted>
---
 src/signaltest/signaltest.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/src/signaltest/signaltest.c b/src/signaltest/signaltest.c
index 59f979e..72a549d 100644
--- a/src/signaltest/signaltest.c
+++ b/src/signaltest/signaltest.c
@@ -30,8 +30,6 @@
 #include "error.h"
 #include "rt-utils.h"
 
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
-
 /* Ugly, but .... */
 #define gettid() syscall(__NR_gettid)
 
-- 
2.9.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help