projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfdb089
)
RDMA/core: Make ib_destroy_cq() void
author
Leon Romanovsky
<leonro@mellanox.com>
Mon, 20 May 2019 06:54:21 +0000
(09:54 +0300)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Tue, 21 May 2019 18:50:53 +0000
(15:50 -0300)
Kernel destroy CQ flows can't fail and the returned value of
ib_destroy_cq() is not interested in those flows.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/rdma/ib_verbs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/rdma/ib_verbs.h
b/include/rdma/ib_verbs.h
index 0742095355f28c7bbf994ab137cc113f0aa76760..ec6446864b08e9847b35c5e68b6ac46018b52e26 100644
(file)
--- a/
include/rdma/ib_verbs.h
+++ b/
include/rdma/ib_verbs.h
@@
-3858,9
+3858,9
@@
int ib_destroy_cq_user(struct ib_cq *cq, struct ib_udata *udata);
*
* NOTE: for user cq use ib_destroy_cq_user with valid udata!
*/
-static inline
int
ib_destroy_cq(struct ib_cq *cq)
+static inline
void
ib_destroy_cq(struct ib_cq *cq)
{
-
return
ib_destroy_cq_user(cq, NULL);
+ ib_destroy_cq_user(cq, NULL);
}
/**