]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 5 Sep 2018 12:18:37 +0000 (14:18 +0200)
commit2ec3d9f023c907b0254c77c0643f67de844333c4
treec5c4e30c04442ca72266adce35849fe492513f26
parent49eb768e0648f4f83dea044fb6a26d44c5cbdc6f
net: hns3: extraction an interface for state init|uninit

BugLink: https://bugs.launchpad.net/bugs/1787477
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>
(cherry picked from commit 48569cdaaf8b624915b9ec07ce90e9d4b35af33a)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c