Dan Carpenter 24acc68956 rdma: potential ERR_PTR dereference
In the original code, the "goto out" calls "rdma_destroy_id(cm_id);"
That isn't needed here and would cause problems because "cm_id" is an
ERR_PTR.  The new code just returns directly.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-04-22 15:57:26 -07:00
..
2010-04-20 18:51:57 -07:00
2010-04-13 03:03:14 -07:00
2010-04-15 14:25:22 -07:00
2010-04-21 22:59:24 -07:00
2009-12-15 08:53:25 -08:00
2010-04-22 15:57:26 -07:00
2009-07-12 12:22:34 -07:00
2010-04-21 16:31:50 -07:00