From patchwork Thu Apr 30 05:08:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 466444 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 8B98D140345 for ; Thu, 30 Apr 2015 18:47:47 +1000 (AEST) Received: from localhost ([::1]:42645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynk8H-00082r-I7 for incoming@patchwork.ozlabs.org; Thu, 30 Apr 2015 04:47:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynk7b-0006e7-7Y for qemu-devel@nongnu.org; Thu, 30 Apr 2015 04:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ynk7V-0004Zo-VY for qemu-devel@nongnu.org; Thu, 30 Apr 2015 04:47:03 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:50701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynk7V-0004ZL-Om; Thu, 30 Apr 2015 04:46:57 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id A5DBA42BBB; Thu, 30 Apr 2015 11:46:56 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 23A2C957; Thu, 30 Apr 2015 08:08:59 +0300 (MSK) Received: (nullmailer pid 4366 invoked by uid 1000); Thu, 30 Apr 2015 05:08:57 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Thu, 30 Apr 2015 08:08:49 +0300 Message-Id: <9be4992ce3039d4f3c5d222259aac2c82573a8a5.1430370396.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, "Emilio G. Cota" , Michael Tokarev Subject: [Qemu-devel] [PULL 36/42] i440fx-test: remove ARRAY_SIZE redefinition X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: "Emilio G. Cota" It's defined in osdep.h and shouldn't be redefined here. Signed-off-by: Emilio G. Cota Reviewed-by: Peter Crosthwaite Reviewed-by: Paolo Bonzini Signed-off-by: Michael Tokarev --- 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;