Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 890ac8d9 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by Jason Gunthorpe
Browse files

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: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent dfdb0899
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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);
}
}


/**
/**