[openib-general] [PATCH 2/13] Re-write cma_listen_on_dev error cases
Krishna Kumar
krkumar2 at in.ibm.com
Wed Oct 11 21:53:21 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
@@ -1165,11 +1165,7 @@ static void cma_listen_on_dev(struct rdm
ret = rdma_listen(id, id_priv->backlog);
if (ret)
- goto err;
-
- return;
-err:
- cma_destroy_listen(dev_id_priv);
+ cma_destroy_listen(dev_id_priv);
}
static void cma_listen_on_all(struct rdma_id_private *id_priv)
More information about the general
mailing list