]> 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)
commit84ef32772a66f2d9cd277a2880dd9786df240e69
treecc0801ca07786cd460764eb6a285bd1914afa574
parent0ec4bf9c77a842e5d295ddbc721a21259b293f74
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