diff options
author | Peng Li <lipeng321@huawei.com> | 2019-07-04 22:04:24 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-05 15:39:38 -0700 |
commit | c09ba484563c17f90ec91b46322c31d3440acc42 (patch) | |
tree | 32b94183c518602581d74530bdf28574f438dccf /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | |
parent | net: hns3: add all IMP return code (diff) | |
download | linux-dev-c09ba484563c17f90ec91b46322c31d3440acc42.tar.xz linux-dev-c09ba484563c17f90ec91b46322c31d3440acc42.zip |
net: hns3: set default value for param "type" in hclgevf_bind_ring_to_vector
The value of param type is always not changed in
hclgevf_bind_ring_to_vector, move the assignment to
front of "for {}" can reduce the redundant assignment.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions