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

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

From: John Kacur <jkacur@redhat.com>
Date: 2017-06-08 14:28:57


On Mon, 5 Jun 2017, Tommi Rantala wrote:
On 22.05.2017 19:44, John Kacur wrote:
quoted
On Mon, 22 May 2017, Tommi Rantala wrote:
quoted
--- 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)
  
-- 
NAK

You're right, it could be removed, but it's not really causing in harm
either. I'm going to leave it in for now.

Thanks

John
Hi John,

OK, dropped the patch also from the github repo.

Any comments to the rest of the patches?
There're coming, give me a little more time to parse them.

Thanks

John
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help