]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rtrs: Introduce destroy_cq helper
authorMd Haris Iqbal <haris.iqbal@ionos.com>
Wed, 22 Sep 2021 12:53:31 +0000 (14:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:54 +0000 (14:23 +0200)
commit84cd56f124272cc4a5de5633dd9c53b0f3d6cd50
tree338028f8655a4dbabda05e35e2ae40c51997db4f
parent7e578ba0d242bd1d3607c34ee748bcd1a67050fd
RDMA/rtrs: Introduce destroy_cq helper

[ Upstream commit 52bc1082e2e692c81a2b8771a215c58307debf77 ]

The same code snip used twice, to avoid duplicate, replace it with a
destroy_cq helper.

Link: https://lore.kernel.org/r/20210922125333.351454-6-haris.iqbal@ionos.com
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/ulp/rtrs/rtrs.c