Skip to content
Commit 2720b979 authored by Jian Shen's avatar Jian Shen Committed by Greg Kroah-Hartman
Browse files

net: hns3: split function hclge_init_vlan_config()

[ Upstream commit b60f9d2e

 ]

Currently the function hclge_init_vlan_config() is a bit long.
Split it to several small functions, to simplify code and
improve code readability.

Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: f5db7a3b

 ("net: hns3: fix port vlan filter not disabled issue")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 45b6316f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment