From patchwork Fri May 20 05:36:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Gong X-Patchwork-Id: 802032 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4K5ZXSr003069 for ; Fri, 20 May 2011 05:35:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752944Ab1ETFfc (ORCPT ); Fri, 20 May 2011 01:35:32 -0400 Received: from mga09.intel.com ([134.134.136.24]:25662 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752908Ab1ETFfc (ORCPT ); Fri, 20 May 2011 01:35:32 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 19 May 2011 22:35:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,240,1304319600"; d="scan'208";a="1355127" Received: from gchen-debian.bj.intel.com ([10.238.153.132]) by orsmga001.jf.intel.com with ESMTP; 19 May 2011 22:35:30 -0700 Received: from gchen by gchen-debian.bj.intel.com with local (Exim 4.69) (envelope-from ) id 1QNINV-00079S-VW; Fri, 20 May 2011 13:36:01 +0800 From: Chen Gong To: rjw@sisk.pl, jbarnes@virtuousgeek.org Cc: linux-pci@vger.kernel.org, Chen Gong Subject: [PATCH] cleanup useless aer codes Date: Fri, 20 May 2011 13:36:01 +0800 Message-Id: <1305869761-27460-1-git-send-email-gong.chen@linux.intel.com> X-Mailer: git-send-email 1.7.5.185.g0b9dee Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 20 May 2011 05:35:33 +0000 (UTC) In the commit 28eb5f2, aer_osc_setup is removed but corresponding definiton information in the aerdrv.h is missed. Signed-off-by: Chen Gong Acked-by: Rafael J. Wysocki --- drivers/pci/pcie/aer/aerdrv.h | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pcie/aer/aerdrv.h b/drivers/pci/pcie/aer/aerdrv.h index 3eb7708..94a7598 100644 --- a/drivers/pci/pcie/aer/aerdrv.h +++ b/drivers/pci/pcie/aer/aerdrv.h @@ -114,15 +114,6 @@ extern void aer_print_error(struct pci_dev *dev, struct aer_err_info *info); extern void aer_print_port_info(struct pci_dev *dev, struct aer_err_info *info); extern irqreturn_t aer_irq(int irq, void *context); -#ifdef CONFIG_ACPI -extern int aer_osc_setup(struct pcie_device *pciedev); -#else -static inline int aer_osc_setup(struct pcie_device *pciedev) -{ - return 0; -} -#endif - #ifdef CONFIG_ACPI_APEI extern int pcie_aer_get_firmware_first(struct pci_dev *pci_dev); #else