diff options
| author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-12-16 16:02:19 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-01-07 16:03:08 -0400 |
| commit | 0ccccb045c870a34730319cb1fb9cad8c8d53f2b (patch) | |
| tree | 7b3e87fe43bf0622ea193ea6072c06a4052bb2d7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | fe91b2366a0bc2a426f8f88e110d5410f1feadd8 (diff) | |
| download | linux-0ccccb045c870a34730319cb1fb9cad8c8d53f2b.tar.gz linux-0ccccb045c870a34730319cb1fb9cad8c8d53f2b.zip | |
RDMA/cma: Delete useless kfree code
The parameter of kfree function is NULL, so kfree code is useless, delete
it. Therefore, goto expression is no longer needed, so simplify
it. cma_dev_group is always pre-zero'd before reaching make_cma_ports, so
the NULL set to cma_dev_group->ports is unneeded too.
Link: https://lore.kernel.org/r/20201216080219.18184-1-zhengyongjun3@huawei.com
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
