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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22.05.2017 19:44, John Kacur wrote:
On Mon, 22 May 2017, Tommi Rantala wrote:

--- 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?

-Tommi
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux