Commit f22c8d31 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Li Yang

soc: fsl: qbman: Delete useless kfree code

The parameter of kfree function is NULL, so kfree code is useless, delete it.
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
parent c4e38b2a
......@@ -709,7 +709,6 @@ struct bman_pool *bman_new_pool(void)
return pool;
err:
bm_release_bpid(bpid);
kfree(pool);
return NULL;
}
EXPORT_SYMBOL(bman_new_pool);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment