Commit ee4507c9 authored by Guangbin Huang's avatar Guangbin Huang Committed by Yang Yingliang
Browse files

net: hns3: optimize code of hns3_parse_vlan_tag() function



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

This patch modifies the logic of two code in function hns3_parse_vlan_tag()
to reduce the indentation level. It does not affect the original function
of the code.

Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Reviewed-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: default avatarZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent fd114cc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment