[openib-general] [PATCH 10/13] Re-write rdma_connect error cases
Krishna Kumar
krkumar2 at in.ibm.com
Wed Oct 11 21:54:14 PDT 2006
diff -ruNp org/drivers/infiniband/core/cma.c new/drivers/infiniband/core/cma.c
--- org/drivers/infiniband/core/cma.c 2006-10-09 16:40:04.000000000 +0530
+++ new/drivers/infiniband/core/cma.c 2006-10-09 16:52:03.000000000 +0530
@@ -1963,11 +1963,7 @@ int rdma_connect(struct rdma_cm_id *id,
break;
}
if (ret)
- goto err;
-
- return 0;
-err:
- cma_comp_exch(id_priv, CMA_CONNECT, CMA_ROUTE_RESOLVED);
+ cma_comp_exch(id_priv, CMA_CONNECT, CMA_ROUTE_RESOLVED);
return ret;
}
EXPORT_SYMBOL(rdma_connect);
More information about the general
mailing list