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: NPeng Li <lipeng321@huawei.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录