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

Commit 036be09c authored by Ralph Campbell's avatar Ralph Campbell Committed by Roland Dreier
Browse files

IB/ipath: Remove redundant code



This patch removes some redundant initialization code.

Signed-off-by: default avatarRalph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent d29cc6ef
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -382,8 +382,6 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,

	ipath_cdbg(VERBOSE, "initializing unit #%u\n", dd->ipath_unit);

	read_bars(dd, pdev, &bar0, &bar1);

	ret = pci_enable_device(pdev);
	if (ret) {
		/* This can happen iff:
@@ -529,9 +527,6 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
		goto bail_regions;
	}

	dd->ipath_deviceid = ent->device;	/* save for later use */
	dd->ipath_vendorid = ent->vendor;

	dd->ipath_pcirev = pdev->revision;

#if defined(__powerpc__)