[PATCH] nvmet-rdma: remove dead allocated field in nvmet_rdma_rsp
Guixin Liu
kanie at linux.alibaba.com
Mon Nov 2 23:33:07 PST 2026
Commit 40f0e5dc2f3c ("nvmet-rdma: use sbitmap to replace rsp free
list") replaced the ->allocated flag with the discrete tag value
NVMET_RDMA_DISCRETE_RSP_TAG, but left the field behind. Nothing
references it anymore, so drop it.
Signed-off-by: Guixin Liu <kanie at linux.alibaba.com>
---
drivers/nvme/target/rdma.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/nvme/target/rdma.c b/drivers/nvme/target/rdma.c
index b9e39d1657d2..b645e103d6aa 100644
--- a/drivers/nvme/target/rdma.c
+++ b/drivers/nvme/target/rdma.c
@@ -71,7 +71,6 @@ struct nvmet_rdma_rsp {
struct nvmet_req req;
- bool allocated;
u8 n_rdma;
u32 flags;
u32 invalidate_rkey;
--
2.43.7
More information about the Linux-nvme
mailing list