diff options
author | David Milburn <dmilburn@redhat.com> | 2008-08-29 10:36:28 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-08 12:15:41 -0400 |
commit | de058cdea65842ed4bf17da6b50d6fe6b120a6ef (patch) | |
tree | cf6e0818f7eacf615ac3dc8396ed23872be84c94 /drivers/ata/pata_sil680.c | |
parent | 9c2676b61a5a4b6d99e65fb2f438fb3914302eda (diff) | |
download | op-kernel-dev-de058cdea65842ed4bf17da6b50d6fe6b120a6ef.zip op-kernel-dev-de058cdea65842ed4bf17da6b50d6fe6b120a6ef.tar.gz |
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/pata_sil680.c')
-rw-r--r-- | drivers/ata/pata_sil680.c | 3 |
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; |