diff options
author | Guofeng Yue <yueguofeng@hisilicon.com> | 2022-09-22 20:33:06 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-09-27 10:15:25 -0300 |
commit | 064fd299a70bae37a3c4d49ad6eb1766e57e4c24 (patch) | |
tree | a062ffe1aea39a2b8c7c1d2752f8e40b8c6b3b96 /drivers/infiniband/hw/hns/hns_roce_hw_v2.h | |
parent | RDMA/hns: Remove unnecessary braces for single statement blocks (diff) | |
download | linux-dev-064fd299a70bae37a3c4d49ad6eb1766e57e4c24.tar.xz linux-dev-064fd299a70bae37a3c4d49ad6eb1766e57e4c24.zip |
RDMA/hns: Remove unnecessary brackets when getting point
Delete () when using & to obtain an address.
Link: https://lore.kernel.org/r/20220922123315.3732205-4-xuhaoyue1@hisilicon.com
Signed-off-by: Guofeng Yue <yueguofeng@hisilicon.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h index ae29780dd63a..ca63463e7d4e 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h +++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h @@ -406,6 +406,7 @@ enum hns_roce_v2_qp_state { struct hns_roce_v2_qp_context_ex { __le32 data[64]; }; + struct hns_roce_v2_qp_context { __le32 byte_4_sqpn_tst; __le32 wqe_sge_ba; |