RDMA/hns: Remove unnecessary structure hns_roce_sqp
authorLang Cheng <chenglang@huawei.com>
Tue, 5 Nov 2019 11:07:55 +0000 (19:07 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 8 Nov 2019 20:37:53 +0000 (16:37 -0400)
commit16a11e0bffcab729bd2e8f315e1252e7ef3ddf33
tree873e4805501e95fd235858858793b1b1aab6456e
parentec6adad0a1e3ef3064c12146b00c2bd1e6835b0c
RDMA/hns: Remove unnecessary structure hns_roce_sqp

Special QP have no differences with normal qp in data structure, so
definition of struct hns_roce_sqp should be removed and replaced by struct
hns_roce_qp.

Link: https://lore.kernel.org/r/1572952082-6681-3-git-send-email-liweihang@hisilicon.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_qp.c