net: hns3: splice two "if" logic as one
driver inclusion category: bugfix bugzilla: NA CVE: NA -------------------------------------------- When checks tuple in hclge_fd_check_ext_tuple(), two nested "if" is used as a logic judgment. It can be spliced as one,using "&&", which make code more readability. 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
想要评论请 注册 或 登录