IB/ipoib: remove the unnecessary memory free
authorZhu Yanjun <yanjun.zhu@oracle.com>
Fri, 10 Feb 2017 06:48:42 +0000 (01:48 -0500)
committerDoug Ledford <dledford@redhat.com>
Sun, 19 Feb 2017 14:18:46 +0000 (09:18 -0500)
commitc5e8f57b0b560b9cc9ea9166975858d023f81030
treebb4870c222e2588c699dd9fa14bc26db3a889bae
parentf50cccdd03ed4b22960308a5d2499519df13ee9b
IB/ipoib: remove the unnecessary memory free

In the function ipoib_cm_nonsrq_init_rx, the memory is not
allocated successfully. It is not necessary to free it.

CC: Joe Jin <joe.jin@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c