Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de058cde authored by David Milburn's avatar David Milburn Committed by Jeff Garzik
Browse files

pata_sil680: remove duplicate pcim_enable_device



Remove duplicate call to pcim_enable_device in sil680_init_one.

Signed-off-by: default avatarDavid Milburn <dmilburn@redhat.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 9c2676b6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;