summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Milburn <dmilburn@redhat.com>2008-08-29 17:36:28 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-09-08 18:15:41 +0200
commitde058cdea65842ed4bf17da6b50d6fe6b120a6ef (patch)
treecf6e0818f7eacf615ac3dc8396ed23872be84c94
parentlibata-sff: kill spurious WARN_ON() in ata_hsm_move() (diff)
downloadlinux-de058cdea65842ed4bf17da6b50d6fe6b120a6ef.tar.xz
linux-de058cdea65842ed4bf17da6b50d6fe6b120a6ef.zip
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>
-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 720b8645f58a..e970b227fbce 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;