mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
soc: fsl: qbman: Delete useless kfree code
The parameter of kfree function is NULL, so kfree code is useless, delete it. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
This commit is contained in:
parent
c4e38b2a27
commit
f22c8d317a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user