aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZheng Yongjun <[email protected]>2020-12-16 16:02:19 +0800
committerJason Gunthorpe <[email protected]>2021-01-07 16:03:08 -0400
commit0ccccb045c870a34730319cb1fb9cad8c8d53f2b (patch)
tree7b3e87fe43bf0622ea193ea6072c06a4052bb2d7 /tools/perf/scripts/python
parentfe91b2366a0bc2a426f8f88e110d5410f1feadd8 (diff)
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/[email protected] Signed-off-by: Zheng Yongjun <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions