提交 890ac8d9 编写于 作者: L Leon Romanovsky 提交者: Jason Gunthorpe

RDMA/core: Make ib_destroy_cq() void

Kernel destroy CQ flows can't fail and the returned value of
ib_destroy_cq() is not interested in those flows.
Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
上级 dfdb0899
...@@ -3858,9 +3858,9 @@ int ib_destroy_cq_user(struct ib_cq *cq, struct ib_udata *udata); ...@@ -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! * 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);
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册