qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PULL 36/42] i440fx-test: remove ARRAY_SIZE redefinition


From: Michael Tokarev
Subject: [Qemu-trivial] [PULL 36/42] i440fx-test: remove ARRAY_SIZE redefinition
Date: Thu, 30 Apr 2015 08:08:49 +0300

From: "Emilio G. Cota" <address@hidden>

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

Signed-off-by: Emilio G. Cota <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
 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;
-- 
2.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]