]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: extraction an interface for state init|uninit
authorPeng Li <lipeng321@huawei.com>
Thu, 28 Jun 2018 04:12:25 +0000 (12:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2018 02:06:34 +0000 (11:06 +0900)
commit433b41ae8bfe74380f9915927cafffa56fed50fa
treeeb4571314a3c9736d50d1c575cad4483ae995ef7
parent3c356358869526a74ec23e802907e0b04de6fbf5
net: hns3: extraction an interface for state init|uninit

Extraction an interface for state init|uninit to make the code
easier to read.

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