summaryrefslogtreecommitdiff
path: root/Documentation/parisc
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2020-12-16 16:02:19 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-01-07 16:03:08 -0400
commit0ccccb045c870a34730319cb1fb9cad8c8d53f2b (patch)
tree7b3e87fe43bf0622ea193ea6072c06a4052bb2d7 /Documentation/parisc
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/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 'Documentation/parisc')
0 files changed, 0 insertions, 0 deletions