aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2019-07-04 22:04:24 +0800
committerDavid S. Miller <davem@davemloft.net>2019-07-05 15:39:38 -0700
commitc09ba484563c17f90ec91b46322c31d3440acc42 (patch)
tree32b94183c518602581d74530bdf28574f438dccf /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c
parentnet: hns3: add all IMP return code (diff)
downloadlinux-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