Browse Source

IB/core: Remove redundant return

"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>
Yuval Shaia 7 years ago
parent
commit
aec05afe64
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/infiniband/core/umem.c

+ 0 - 2
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);
 	sg_free_table(&umem->sg_head);
-	return;
-
 }
 }
 
 
 /**
 /**