IB/core: Remove redundant return
authorYuval Shaia <[email protected]>
Thu, 10 May 2018 06:32:43 +0000 (09:32 +0300)
committerJason Gunthorpe <[email protected]>
Tue, 15 May 2018 22:22:02 +0000 (16:22 -0600)
"return" statement at the end of void function is redundant, removing
it.

Signed-off-by: Yuval Shaia <[email protected]>
Reviewed-by: Zhu Yanjun <[email protected]>
Reviewed-by: Qing Huang <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
drivers/infiniband/core/umem.c

index 9a4e899d94b30a843e54f3a06e975ad632428a26..b3cdc099d32a530abf9156bcfd562c0d4e396097 100644 (file)
@@ -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;
-
 }
 
 /**