qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] i440fx-test: remove ARRAY_SIZE redefinition
@ 2015-04-26 22:04 Emilio G. Cota
  2015-04-27  2:18 ` Peter Crosthwaite
  2015-04-27 15:40 ` Paolo Bonzini
  0 siblings, 2 replies; 5+ messages in thread
From: Emilio G. Cota @ 2015-04-26 22:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Laszlo Ersek

It's defined in osdep.h and shouldn't be redefined here.

Signed-off-by: Emilio G. Cota <cota@braap.org>
---
 tests/i440fx-test.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/i440fx-test.c b/tests/i440fx-test.c
index d0bc8de..33a7ecb 100644
--- a/tests/i440fx-test.c
+++ b/tests/i440fx-test.c
@@ -27,8 +27,6 @@
 
 #define BROKEN 1
 
-#define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
-
 typedef struct TestData
 {
     int num_cpus;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-29  6:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-26 22:04 [Qemu-devel] [PATCH] i440fx-test: remove ARRAY_SIZE redefinition Emilio G. Cota
2015-04-27  2:18 ` Peter Crosthwaite
2015-04-27 15:39   ` Emilio G. Cota
2015-04-27 15:40 ` Paolo Bonzini
2015-04-29  6:31   ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).