mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
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: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
parent
dfdb089904
commit
890ac8d97e
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue