Skip to contentSkip to conversation

ipath: remove unreachable code

PATCH In review Alan Cox 2 participants 2 messages Oct 25, 2012 1 message not in the archive InfiniBand

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 ipath: remove unreachable code

From: Alan Cox <alan-VuQAYsv1563Yd54FQh9/[email protected]>

---

 drivers/infiniband/hw/ipath/ipath_init_chip.c |   10 ----------
 1 file changed, 10 deletions(-)
drivers/infiniband/hw/ipath/ipath_init_chip.c +0 -10
index 49b09c6..be2a60e 100644
@@ -719,16 +719,6 @@ int ipath_init_chip(struct ipath_devdata *dd, int reinit)
 		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
 	 * we now use routines that backend onto __get_free_pages, the

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive

DQo+IFN1YmplY3Q6IFtQQVRDSF0gaXBhdGg6IHJlbW92ZSB1bnJlYWNoYWJsZSBjb2RlDQo+IA0K PiBGcm9tOiBBbGFuIENveCA8YWxhbkBsaW51eC5pbnRlbC5jb20+DQo+IA0KPiBTaWduZWQtb2Zm LWJ5OiBBbGFuIENveCA8YWxhbkBsaW51eC5pbnRlbC5jb20+DQoNClRoYW5rcyBmb3IgdGhlIHBh dGNoIQ0KDQpBY2tlZC1ieTogTWlrZSBNYXJjaW5pc3p5biA8bWlrZS5tYXJjaW5pc3p5bkBpbnRl bC5jb20+DQo=
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html