]> asedeno.scripts.mit.edu Git - linux.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)
commit48569cdaaf8b624915b9ec07ce90e9d4b35af33a
treeeb4571314a3c9736d50d1c575cad4483ae995ef7
parentfe589e0454b3a18ab9aaddaa8b4925e629d46792
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