From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754584Ab0IFOgr (ORCPT ); Mon, 6 Sep 2010 10:36:47 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:33588 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754165Ab0IFOgi (ORCPT ); Mon, 6 Sep 2010 10:36:38 -0400 Date: Mon, 6 Sep 2010 16:36:36 +0200 From: Christian Dietrich To: "James E.J. Bottomley" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: vamos-dev@i4.informatik.uni-erlangen.de Subject: [PATCH 08/14] drivers/scsi: Removing undead ifdef CONFIG_PCI Message-ID: <7b18a70423acd7cdae3a8d6ae636b99e202acc64.1283782701.git.qy03fugy@stud.informatik.uni-erlangen.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The CONFIG_PCI ifdef isn't necessary at this point, because it is checked in an outer ifdef level already and has no effect here. Signed-off-by: Christian Dietrich --- drivers/scsi/aic7xxx_old.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c index 93984c9..c0953be 100644 --- a/drivers/scsi/aic7xxx_old.c +++ b/drivers/scsi/aic7xxx_old.c @@ -9655,9 +9655,7 @@ aic7xxx_detect(struct scsi_host_template *template) found++; continue; skip_pci_controller: -#ifdef CONFIG_PCI pci_release_regions(temp_p->pdev); -#endif kfree(temp_p); } /* Found an Adaptec PCI device. */ else /* Well, we found one, but we couldn't get any memory */ -- 1.7.0.4