]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64652e28554aacabc40c9f8bdef2655028651a6b
treebb4870c222e2588c699dd9fa14bc26db3a889bae
parentbb56395c2bab73d334ee94e7d27d24ffe5738c8e
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