Commit b133b21f authored by Chengchang Tang's avatar Chengchang Tang Committed by Juan Zhou
Browse files

RDMA/hns: Delete redundant assignment values

driver inclusion
category: cleanup
bugzilla: https://gitee.com/openeuler/kernel/issues/I6GT7F



--------------------------------------------------------------------------

The variables "hop_num" and "unit" are assigned values twice in
get_best_hop_num(), which affects code maintainability. Therefore,
redundant values are deleted.

Fixes: cf2f2029 ("RDMA/hns: Support adaptive hopnum for MTR")
Signed-off-by: default avatarChengchang Tang <tangchengchang@huawei.com>
parent bcfafb49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment