Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nvmet-rdma: remove dead allocated field in nvmet_rdma_rsp
@ 2026-11-03  7:33 Guixin Liu
  2026-11-03  7:40 ` Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Guixin Liu @ 2026-11-03  7:33 UTC (permalink / raw)
  To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	Nilay Shroff, Daniel Wagner, Hannes Reinecke
  Cc: linux-nvme

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@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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-03 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03  7:33 [PATCH] nvmet-rdma: remove dead allocated field in nvmet_rdma_rsp Guixin Liu
2026-11-03  7:40 ` Christoph Hellwig
2026-11-03  8:00 ` Nilay Shroff
2026-11-03 10:10 ` Daniel Wagner
2026-11-03 15:38 ` Keith Busch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox