This series contains some cleanups for the hns driver: - patch 1 unifies format of prints in hns_roce_hw_v2.c and hns_roce_pd.c. - patch 2 ~ 6 are some simple modifications. - patch 7 ~ 11 remove some dead codes. Lang Cheng (4): RDMA/hns: Simplify attribute judgment code RDMA/hns: Adjust the qp status value sequence of the hardware RDMA/hns: Remove definition of cq doorbell structure RDMA/hns: Remove redundant qpc setup operations Lijun Ou (2): RDMA/hns: Unify format of prints RDMA/hns: Optimize hns_roce_alloc_vf_resource() Weihang Li (3): RDMA/hns: Fix a wrong judgment of return value RDMA/hns: Remove redundant assignment of wc->smac when polling cq RDMA/hns: Remove redundant judgment of qp_type Wenpeng Liang (1): RDMA/hns: Remove meaningless prints Yixian Liu (1): RDMA/hns: Check return value of kmalloc with macro drivers/infiniband/hw/hns/hns_roce_cmd.c | 2 +- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 9 +- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 560 ++++++++--------------------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 7 +- drivers/infiniband/hw/hns/hns_roce_mr.c | 2 +- drivers/infiniband/hw/hns/hns_roce_pd.c | 6 +- 6 files changed, 160 insertions(+), 426 deletions(-) -- 2.8.1