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

Commit 5390f867 authored by Alan Cox's avatar Alan Cox Committed by Roland Dreier
Browse files

IB/ipath: Remove unreachable code

parent f4a75d2e
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -718,16 +718,6 @@ int ipath_init_chip(struct ipath_devdata *dd, int reinit)
	if (ret)
		goto done;

	/*
	 * we ignore most issues after reporting them, but have to specially
	 * handle hardware-disabled chips.
	 */
	if (ret == 2) {
		/* unique error, known to ipath_init_one */
		ret = -EPERM;
		goto done;
	}

	/*
	 * We could bump this to allow for full rcvegrcnt + rcvtidcnt,
	 * but then it no longer nicely fits power of two, and since