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: NGuojia Liao <liaoguojia@huawei.com> Signed-off-by: Nshenhao <shenhao21@huawei.com> Reviewed-by: NZhong Zhaohui <zhongzhaohui@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录