Author: Fengguang Wu <fengguang.wu@intel.com> Suggested by scripts/coccinelle/api/ptr_ret.cocci. Signed-off-by: Roland Dreier — drivers/infiniband/core/cma.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-) diff –git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 5a335b5..7172559 100644 — a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core/cma.c @@ -3064,10 +3064,7 @@ static int cma_join_ib_multicast(struct rdma_id_private *id_priv, id_priv->id.port_num, &rec, comp_mask, GFP_KERNEL, cma_ib_mc_handler, mc); – if (IS_ERR(mc->multicast.ib)) – return PTR_ERR(mc->multicast.ib); …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.