]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove redundant variable initialization
authorPeng Li <lipeng321@huawei.com>
Thu, 20 Dec 2018 03:52:06 +0000 (11:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Dec 2018 07:47:59 +0000 (23:47 -0800)
commitdfad213247cf3f1d4773ee4296f1507dcdde2a7b
treecc0801ca07786cd460764eb6a285bd1914afa574
parent307b10c26f4685e0b8f95663dcd4d1d0b234da22
net: hns3: remove redundant variable initialization

This patch removes the redundant variable initialization,
as driver will devm_kzalloc to set value to hdev soon.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c