diff options
author | Yixian Liu <liuyixian@huawei.com> | 2019-11-18 10:34:51 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-11-25 10:31:48 -0400 |
commit | 18a96d25ce84a365fbe9ddcb887ade80eb3a6017 (patch) | |
tree | 77f05bd285e2c4e5d49bdbd2927cd1f856ba798e /drivers/scsi/a2091.c | |
parent | e2b2744a06d35ba44f32c86e0579d986931187b3 (diff) | |
download | linux-18a96d25ce84a365fbe9ddcb887ade80eb3a6017.tar.bz2 |
RDMA/hns: Redefine the member of hns_roce_cq struct
There is no need to package buf and mtt into hns_roce_cq_buf, which will
make code more complex, just delete this struct and move buf and mtt into
hns_roce_cq. Furthermore, we add size member for hns_roce_buf to avoid
repeatly calculating where needed it.
Link: https://lore.kernel.org/r/1574044493-46984-3-git-send-email-liweihang@hisilicon.com
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/scsi/a2091.c')
0 files changed, 0 insertions, 0 deletions