projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e38b2
)
soc: fsl: qbman: Delete useless kfree code
author
Zheng Yongjun
<zhengyongjun3@huawei.com>
Wed, 16 Dec 2020 13:08:13 +0000
(21:08 +0800)
committer
Li Yang
<leoyang.li@nxp.com>
Tue, 6 Apr 2021 20:17:53 +0000
(15:17 -0500)
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>
drivers/soc/fsl/qbman/bman.c
patch
|
blob
|
history
diff --git
a/drivers/soc/fsl/qbman/bman.c
b/drivers/soc/fsl/qbman/bman.c
index
c5dd026
..
6cc1847
100644
(file)
--- a/
drivers/soc/fsl/qbman/bman.c
+++ b/
drivers/soc/fsl/qbman/bman.c
@@
-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);