IB/core: Remove redundant return
authorYuval Shaia <yuval.shaia@oracle.com>
Thu, 10 May 2018 06:32:43 +0000 (09:32 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
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 <yuval.shaia@oracle.com>
Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Qing Huang <qing.huang@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
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;
-
 }
 
 /**