summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorDavid Milburn <dmilburn@redhat.com>2008-08-29 15:36:28 (GMT)
committerJeff Garzik <jgarzik@redhat.com>2008-09-08 16:15:41 (GMT)
commitde058cdea65842ed4bf17da6b50d6fe6b120a6ef (patch)
treecf6e0818f7eacf615ac3dc8396ed23872be84c94 /drivers/ata
parent9c2676b61a5a4b6d99e65fb2f438fb3914302eda (diff)
downloadlinux-de058cdea65842ed4bf17da6b50d6fe6b120a6ef.tar.xz
pata_sil680: remove duplicate pcim_enable_device
Remove duplicate call to pcim_enable_device in sil680_init_one. Signed-off-by: David Milburn <dmilburn@redhat.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_sil680.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c
index 720b864..e970b22 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;