diff options
author | 2022-04-09 16:32:54 +0800 | |
---|---|---|
committer | 2022-04-11 11:00:35 -0300 | |
commit | 6f4f5cf9823387acc4f52e3d30f96b879acdff37 (patch) | |
tree | 51ec4a55ace04f473f1600330706e7867a63e727 /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | RDMA/hns: Add judgment on the execution result of CMDQ that free vf resource (diff) | |
download | linux-dev-6f4f5cf9823387acc4f52e3d30f96b879acdff37.tar.xz linux-dev-6f4f5cf9823387acc4f52e3d30f96b879acdff37.zip |
RDMA/hns: Init the variable at the suitable place
Assigning a value to ret in the init statement of a for-loop makes the
code less readable.
Link: https://lore.kernel.org/r/20220409083254.9696-6-liangwenpeng@huawei.com
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions