Received: from eggs.gnu.org ([2001:4830:134:3::10]:40382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnYaK-0000no-UY for qemu-devel@nongnu.org; Fri, 23 Sep 2016 18:04:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnYaJ-0003jf-V7 for qemu-devel@nongnu.org; Fri, 23 Sep 2016 18:04:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnYaJ-0003jG-Os for qemu-devel@nongnu.org; Fri, 23 Sep 2016 18:04:43 -0400 Date: Sat, 24 Sep 2016 01:04:42 +0300 From: "Michael S. Tsirkin" Message-ID: <1474668213-15643-6-git-send-email-mst@redhat.com> References: <1474668213-15643-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1474668213-15643-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL v2 05/19] pc: clean up COMPAT macro chaining List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Igor Mammedov , Eduardo Habkost From: Igor Mammedov Since commit bacc344c ("machine: add properties to compat_props incrementaly") there is no need to chain per machine type compat macro. Clean up places where it was done anyway so it will be consistent and won't confuse contributors during addtion of new machine types. Signed-off-by: Igor Mammedov Reviewed-by: Eduardo Habkost --- include/hw/i386/pc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index ab8e319..b0a61f3 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -375,7 +375,6 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *); #define PC_COMPAT_2_7 \ - PC_COMPAT_2_8 \ HW_COMPAT_2_7 #define PC_COMPAT_2_6 \ @@ -405,7 +404,6 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *); }, #define PC_COMPAT_2_5 \ - PC_COMPAT_2_6 \ HW_COMPAT_2_5 /* Helper for setting model-id for CPU models that changed model-id -- MST