OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d478b2
)
IB/core: Remove redundant return
author
Yuval Shaia
<yuval.shaia@oracle.com>
Thu, 10 May 2018 06:32:43 +0000
(09:32 +0300)
committer
Jason 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
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/umem.c
b/drivers/infiniband/core/umem.c
index
9a4e899
..
b3cdc09
100644
(file)
--- 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;
-
}
/**