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 /crypto/Makefile | |
parent | RDMA/hns: Remove redundant 'max_srq_desc_sz' in caps (diff) | |
download | linux-dev-3b1f864c904915b3baebffb31ea05ee704b0df3c.tar.xz linux-dev-3b1f864c904915b3baebffb31ea05ee704b0df3c.zip |
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 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions