mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
ice: remove unnecessary VSI assignment
ice_get_vf_vsi() is being called twice for the same VSI. Remove the unnecessary call/assignment. Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
This commit is contained in:
parent
37c592062b
commit
70fa0a0780
@ -1689,7 +1689,6 @@ bool ice_reset_vf(struct ice_vf *vf, bool is_vflr)
|
||||
else
|
||||
promisc_m = ICE_UCAST_PROMISC_BITS;
|
||||
|
||||
vsi = ice_get_vf_vsi(vf);
|
||||
if (ice_vf_set_vsi_promisc(vf, vsi, promisc_m, true))
|
||||
dev_err(dev, "disabling promiscuous mode failed\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user