Skip to contentSkip to conversation

nvmet-rdma: remove dead allocated field in nvmet_rdma_rsp

PATCH Applied Guixin Liu 5 participants 5 messages Nov 3

Subsystems (2)
lore
Share & tools
lore

Guixin Liu

author
#0 lore raw

PATCH 1/1 nvmet-rdma: remove dead allocated field in nvmet_rdma_rsp

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.

---
 drivers/nvme/target/rdma.c | 1 -
 1 file changed, 1 deletion(-)
drivers/nvme/target/rdma.c +0 -1
index b9e39d1657d2..b645e103d6aa 100644
@@ -71,7 +71,6 @@ struct nvmet_rdma_rsp {
 
 	struct nvmet_req	req;
 
-	bool			allocated;
 	u8			n_rdma;
 	u32			flags;
 	u32			invalidate_rkey;
Signature · 1 line
2.43.7
maintainer Applied
#4 lore raw
In reply to Guixin Liu
Quoted 4 lines · Guixin Liu

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.

Thanks, applied to nvme-7.4.