Hi, Sorry, I forgot to remove "{topost}" in title, please ignore this series. Weihang On 2019/11/5 18:39, Weihang Li wrote: > 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. > > Lang Cheng (3): > {topost} RDMA/hns: Remove unnecessary structure hns_roce_sqp > {topost} RDMA/hns: Simplify doorbell initialization code > {topost} RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code > > Wenpeng Liang (1): > {topost} RDMA/hns: Modify appropriate printings > > Yixian Liu (4): > {topost} RDMA/hns: Delete unnecessary variable max_post > {topost} RDMA/hns: Delete unnecessary uar from hns_roce_cq > {topost} RDMA/hns: Modify fields of struct hns_roce_srq > {topost} RDMA/hns: Fix non-standard error codes > > Yixing Liu (1): > {topost} 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(-) >