]> 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)
commit9afd243b1dd5e6a37601c4bfd6b17bb435e832ed
treeeb4571314a3c9736d50d1c575cad4483ae995ef7
parentcce0ffc38cc847d82fcb03b89df66f5d962875e3
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