diff options
author | Luoyouming <luoyouming@huawei.com> | 2022-09-22 20:33:13 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-09-27 10:15:25 -0300 |
commit | 3b1f864c904915b3baebffb31ea05ee704b0df3c (patch) | |
tree | 0e5f1f5a94648241b8df43cf3226978f8e49c01d /drivers/fpga/socfpga-a10.c | |
parent | 6649b4a1c43c6ad153c3ff0c1754a436aa6b6390 (diff) | |
download | linux-3b1f864c904915b3baebffb31ea05ee704b0df3c.tar.bz2 |
RDMA/hns: Repacing 'dseg_len' by macros in fill_ext_sge_inl_data()
The sge size is known to be constant, so it's unnecessary to use sizeof to
calculate.
Link: https://lore.kernel.org/r/20220922123315.3732205-11-xuhaoyue1@hisilicon.com
Signed-off-by: Luoyouming <luoyouming@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/fpga/socfpga-a10.c')
0 files changed, 0 insertions, 0 deletions