git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe449e
)
net/ice/base: remove unnecessary if branch
author
Qi Zhang
<qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:46 +0000
(10:36 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000
(15:00 +0200)
We are already in the branch "if (fm_list->vsi_count == 1)"
no need to exit and re-enter.
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_switch.c
patch
|
blob
|
history
diff --git
a/drivers/net/ice/base/ice_switch.c
b/drivers/net/ice/base/ice_switch.c
index
063a26e
..
3ae53d3
100644
(file)
--- a/
drivers/net/ice/base/ice_switch.c
+++ b/
drivers/net/ice/base/ice_switch.c
@@
-6319,9
+6319,7
@@
ice_adv_rem_update_vsi_list(struct ice_hw *hw, u16 vsi_handle,
tmp_fltr.fwd_id.hw_vsi_id, status);
return status;
}
- }
- if (fm_list->vsi_count == 1) {
/* Remove the VSI list since it is no longer used */
status = ice_remove_vsi_list_rule(hw, vsi_list_id, lkup_type);
if (status) {