RDMA/core: Remove the redundant return statements
authorWenpeng Liang <liangwenpeng@huawei.com>
Wed, 7 Apr 2021 08:15:48 +0000 (16:15 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 12 Apr 2021 17:52:22 +0000 (14:52 -0300)
commit9279c35b63e587f7810f19a6a702ec649121dff3
tree1b4110abb32f0c0427e38161702fbe900ab108e0
parentab27f45fdfcc6a0035a2589998e0f358e133893c
RDMA/core: Remove the redundant return statements

The return statements at the end of a void function is meaningless.

Link: https://lore.kernel.org/r/1617783353-48249-3-git-send-email-liweihang@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/mad.c
drivers/infiniband/core/sysfs.c