This series first rename the CMDQ pointers to make it better understandable, then remove some dead code. Changes since v1: * Remove the print in hns_roce_alloc_cmq_desc() in #2 because the caller already has a print. * Link: https://patchwork.kernel.org/project/linux-rdma/cover/1620904578-29829-1-git-send-email-liweihang@xxxxxxxxxx/ Lang Cheng (3): RDMA/hns: Rename CMDQ head/tail pointer to PI/CI RDMA/hns: Remove Receive Queue of CMDQ RDMA/hns: Remove unused CMDQ member drivers/infiniband/hw/hns/hns_roce_common.h | 4 +- drivers/infiniband/hw/hns/hns_roce_device.h | 1 - drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 103 ++++++++-------------------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 1 - 4 files changed, 30 insertions(+), 79 deletions(-) -- 2.7.4