aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-10-25 10:27:07 -0400
committerRoland Dreier <roland@purestorage.com>2012-11-22 03:50:51 -0500
commit5390f86796a1f444ca1a7ba7315951e26acd958d (patch)
treeadf96f478e483a014ac1551469cee4369e373db9
parentf4a75d2eb7b1e2206094b901be09adb31ba63681 (diff)
IB/ipath: Remove unreachable code
Signed-off-by: Alan Cox <alan@linux.intel.com> Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--drivers/infiniband/hw/ipath/ipath_init_chip.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_init_chip.c b/drivers/infiniband/hw/ipath/ipath_init_chip.c
index 49b09c697c7..be2a60e142b 100644
--- a/drivers/infiniband/hw/ipath/ipath_init_chip.c
+++ b/drivers/infiniband/hw/ipath/ipath_init_chip.c
@@ -719,16 +719,6 @@ int ipath_init_chip(struct ipath_devdata *dd, int reinit)
719 goto done; 719 goto done;
720 720
721 /* 721 /*
722 * we ignore most issues after reporting them, but have to specially
723 * handle hardware-disabled chips.
724 */
725 if (ret == 2) {
726 /* unique error, known to ipath_init_one */
727 ret = -EPERM;
728 goto done;
729 }
730
731 /*
732 * We could bump this to allow for full rcvegrcnt + rcvtidcnt, 722 * We could bump this to allow for full rcvegrcnt + rcvtidcnt,
733 * but then it no longer nicely fits power of two, and since 723 * but then it no longer nicely fits power of two, and since
734 * we now use routines that backend onto __get_free_pages, the 724 * we now use routines that backend onto __get_free_pages, the