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);

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to