From: David Milburn Date: Fri, 29 Aug 2008 15:36:28 +0000 (-0500) Subject: pata_sil680: remove duplicate pcim_enable_device X-Git-Tag: v2.6.27-rc6~16^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=de058cdea65842ed4bf17da6b50d6fe6b120a6ef;p=linux-2.6-omap-h63xx.git pata_sil680: remove duplicate pcim_enable_device Remove duplicate call to pcim_enable_device in sil680_init_one. Signed-off-by: David Milburn Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c index 720b8645f58..e970b227fbc 100644 --- a/drivers/ata/pata_sil680.c +++ b/drivers/ata/pata_sil680.c @@ -322,9 +322,6 @@ static int __devinit sil680_init_one(struct pci_dev *pdev, /* Try to acquire MMIO resources and fallback to PIO if * that fails */ - rc = pcim_enable_device(pdev); - if (rc) - return rc; rc = pcim_iomap_regions(pdev, 1 << SIL680_MMIO_BAR, DRV_NAME); if (rc) goto use_ioports;