nvmet-rdma: remove dead allocated field in nvmet_rdma_rsp
Subsystems (2)
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
@@ -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
Looks good:
Quoted 6 lines · Guixin Liu
Commit
40f0e5dc2f3c("nvmet-rdma: use sbitmap to replace rsp free list") replaced the ->allocated flag with the discrete tag valueNVMET_RDMA_DISCRETE_RSP_TAG, but left the field behind. Nothing references it anymore, so drop it.Signed-off-by Guixin Liu<[email protected]>
Looks good to me:
Quoted 6 lines · Guixin Liu
Commit
40f0e5dc2f3c("nvmet-rdma: use sbitmap to replace rsp free list") replaced the ->allocated flag with the discrete tag valueNVMET_RDMA_DISCRETE_RSP_TAG, but left the field behind. Nothing references it anymore, so drop it.Signed-off-by Guixin Liu <[email protected]>
Quoted 4 lines · Guixin Liu
Commit
40f0e5dc2f3c("nvmet-rdma: use sbitmap to replace rsp free list") replaced the ->allocated flag with the discrete tag valueNVMET_RDMA_DISCRETE_RSP_TAG, but left the field behind. Nothing references it anymore, so drop it.
Thanks, applied to nvme-7.4.