commit | c09ba484563c17f90ec91b46322c31d3440acc42 | [log] [tgz] |
---|---|---|
author | Peng Li <lipeng321@huawei.com> | Thu Jul 04 22:04:24 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 05 15:39:38 2019 -0700 |
tree | 32b94183c518602581d74530bdf28574f438dccf | |
parent | 9e1511fb8091e3f5b23bb21f32e9394bedc6c34e [diff] |
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>