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)
commitcdd332accd4a93ac17d86024d52971d387b9a042
tree2f187cfd6f5ebb3ee3996ae6e45c35c932f64feb
parent46ee73508cbbfcb03216823043a2e24764f18664
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