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
..
2009-02-26 23:39:25 -08:00
2009-02-26 23:39:26 -08:00
2009-10-30 15:06:37 -07:00
2009-08-23 19:13:07 -07:00
2009-08-23 19:13:02 -07:00
2009-08-23 19:13:02 -07:00