]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: modify redundant initialization of variable
authorGuojia Liao <liaoguojia@huawei.com>
Fri, 16 Aug 2019 08:09:38 +0000 (16:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Aug 2019 19:59:12 +0000 (12:59 -0700)
commit0c9ba47d1e4c7e437930fd47c311e8eb96bdea5d
tree2f187cfd6f5ebb3ee3996ae6e45c35c932f64feb
parent05ce969ec0fc014de919741eaea5d52b53faa609
net: hns3: modify redundant initialization of variable

Some temporary variables do not need to be initialized that
they will be set before used, so this patch deletes the
initialization value of these temporary variables.

Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huzhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.c
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c