aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/devx.c
diff options
context:
space:
mode:
authorXinhao Liu <[email protected]>2021-02-05 09:39:34 +0000
committerJason Gunthorpe <[email protected]>2021-02-09 00:25:26 +0000
commita5887d62072e09a9d3b01549ac5d555bbeb9be3d (patch)
tree999707d156fae6fd068ccf181dabae60f9a19753 /drivers/infiniband/hw/mlx5/devx.c
parentRDMA/hns: Remove unnecessary wrap around for EQ's consumer index (diff)
downloadkernel-a5887d62072e09a9d3b01549ac5d555bbeb9be3d.tar.gz
kernel-a5887d62072e09a9d3b01549ac5d555bbeb9be3d.zip
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/[email protected] Signed-off-by: Xinhao Liu <[email protected]> Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/devx.c')
0 files changed, 0 insertions, 0 deletions