Commit 30714f1f authored by shenhao's avatar shenhao Committed by Yang Yingliang
Browse files

net: hns3: clean up some coding style issue



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

--------------------------------------------

An enum type parameter is passed to hclge_set_fd_key_config(),
so "stage" should be declared as "enum".

Parameter of "tuple_size" is from "key_length", which with type of
"u8", so modify "tuple_size" to "u8" would be modre better

This patch also cleanup some unnecessary blank lines, redundant
parentheses.

Signed-off-by: default avatarGuojia Liao <liaoguojia@huawei.com>
Signed-off-by: default avatarshenhao <shenhao21@huawei.com>
Reviewed-by: default avatarZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 2f745103
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment