These series just make cleanups without changing code logic. [patch 1/9 ~ 3/9] remove unused variables and structures. [patch 4/9 ~ 5/9] modify field and function names. [patch 6/9 ~ 7/9] remove dead codes to simplify functions. [patch 8/9] replaces non-standard return value with linux error codes. [patch 9/9] does some fixes on printings. Changelog v1->v2: Remove "{topost}" in titles. Lang Cheng (3): RDMA/hns: Remove unnecessary structure hns_roce_sqp RDMA/hns: Simplify doorbell initialization code RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code Wenpeng Liang (1): RDMA/hns: Modify appropriate printings Yixian Liu (4): RDMA/hns: Delete unnecessary variable max_post RDMA/hns: Delete unnecessary uar from hns_roce_cq RDMA/hns: Modify fields of struct hns_roce_srq RDMA/hns: Fix non-standard error codes Yixing Liu (1): RDMA/hns: Replace not intuitive function/macro names drivers/infiniband/hw/hns/hns_roce_alloc.c | 4 +- drivers/infiniband/hw/hns/hns_roce_cmd.h | 14 +++---- drivers/infiniband/hw/hns/hns_roce_cq.c | 51 +++++++++++----------- drivers/infiniband/hw/hns/hns_roce_device.h | 22 +++------- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 12 +++--- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 37 ++++++---------- drivers/infiniband/hw/hns/hns_roce_main.c | 4 +- drivers/infiniband/hw/hns/hns_roce_mr.c | 65 +++++++++++++++-------------- drivers/infiniband/hw/hns/hns_roce_pd.c | 2 +- drivers/infiniband/hw/hns/hns_roce_qp.c | 18 ++++---- drivers/infiniband/hw/hns/hns_roce_srq.c | 58 ++++++++++++------------- 11 files changed, 132 insertions(+), 155 deletions(-) -- 2.8.1