From patchwork Thu May 27 05:40:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 53692 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 427DDB7D40 for ; Thu, 27 May 2010 16:23:33 +1000 (EST) Received: from localhost ([127.0.0.1]:39096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHWV8-0002Fm-Df for incoming@patchwork.ozlabs.org; Thu, 27 May 2010 02:23:30 -0400 Received: from [140.186.70.92] (port=38514 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHW3K-0003bp-1C for qemu-devel@nongnu.org; Thu, 27 May 2010 01:54:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHVsK-0003t9-RL for qemu-devel@nongnu.org; Thu, 27 May 2010 01:43:25 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:40058) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHVsK-0003t3-Fb for qemu-devel@nongnu.org; Thu, 27 May 2010 01:43:24 -0400 Received: from ps.local.valinux.co.jp (vagw.valinux.co.jp [210.128.90.14]) by mail.valinux.co.jp (Postfix) with SMTP id 71A311867D; Thu, 27 May 2010 14:43:23 +0900 (JST) Received: (nullmailer pid 13261 invoked by uid 1000); Thu, 27 May 2010 05:40:02 -0000 Date: Thu, 27 May 2010 14:40:02 +0900 From: Isaku Yamahata To: qemu-devel@nongnu.org Message-ID: <20100527054002.GE31807@valinux.co.jp> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: clamav-milter 0.95.2 at va-mail.local.valinux.co.jp X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [Qemu-devel] [PATCH] pci.h: remove unused constants. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org So remove unused constants, PCI_STATUS_RESERVED_MASK_LO, PCI_STATUS_RESERVED_MASK_HI, PCI_COMMAND_RESERVED, PCI_COMMAND_RESERVED_MASK_HI. They were used once, but they aren't used anymore. Signed-off-by: Isaku Yamahata --- hw/pci.h | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/hw/pci.h b/hw/pci.h index f6e6c5f..6eee93a 100644 --- a/hw/pci.h +++ b/hw/pci.h @@ -97,17 +97,6 @@ typedef struct PCIIORegion { /* PCI HEADER_TYPE */ #define PCI_HEADER_TYPE_MULTI_FUNCTION 0x80 -#define PCI_STATUS_RESERVED_MASK_LO (PCI_STATUS_RESERVED1 | \ - PCI_STATUS_INT_STATUS | PCI_STATUS_CAPABILITIES | \ - PCI_STATUS_66MHZ | PCI_STATUS_RESERVED2 | PCI_STATUS_FAST_BACK) - -#define PCI_STATUS_RESERVED_MASK_HI (PCI_STATUS_DEVSEL >> 8) - -/* Bits in the PCI Command Register (PCI 2.3 spec) */ -#define PCI_COMMAND_RESERVED 0xf800 - -#define PCI_COMMAND_RESERVED_MASK_HI (PCI_COMMAND_RESERVED >> 8) - /* Size of the standard PCI config header */ #define PCI_CONFIG_HEADER_SIZE 0x40 /* Size of the standard PCI config space */