summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/mr.c
diff options
context:
space:
mode:
authorXinhao Liu <liuxinhao5@hisilicon.com>2021-02-05 12:39:34 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-02-09 03:25:26 +0300
commita5887d62072e09a9d3b01549ac5d555bbeb9be3d (patch)
tree999707d156fae6fd068ccf181dabae60f9a19753 /drivers/net/ethernet/mellanox/mlx5/core/mr.c
parentcd0a4baf36dafb0a6d1a57be712ab6263ef169bc (diff)
downloadlinux-a5887d62072e09a9d3b01549ac5d555bbeb9be3d.tar.xz
RDMA/hns: Delete redundant judgment when preparing descriptors
There is no need to use a for loop to assign values for an array of cmd descriptors which has only two elements. Link: https://lore.kernel.org/r/1612517974-31867-13-git-send-email-liweihang@huawei.com Signed-off-by: Xinhao Liu <liuxinhao5@hisilicon.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/mr.c')
0 files changed, 0 insertions, 0 deletions