From: Yuval Shaia Date: Thu, 10 May 2018 06:32:43 +0000 (+0300) Subject: IB/core: Remove redundant return X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=aec05afe641b9c10024c7e4838c0d6cd734f3565;p=openwrt%2Fstaging%2Fblogic.git IB/core: Remove redundant return "return" statement at the end of void function is redundant, removing it. Signed-off-by: Yuval Shaia Reviewed-by: Zhu Yanjun Reviewed-by: Qing Huang Signed-off-by: Jason Gunthorpe --- diff --git a/drivers/infiniband/core/umem.c b/drivers/infiniband/core/umem.c index 9a4e899d94b3..b3cdc099d32a 100644 --- a/drivers/infiniband/core/umem.c +++ b/drivers/infiniband/core/umem.c @@ -64,8 +64,6 @@ static void __ib_umem_release(struct ib_device *dev, struct ib_umem *umem, int d } sg_free_table(&umem->sg_head); - return; - } /**