diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2023-01-18 17:16:42 -0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-02-06 09:36:09 -0800 |
commit | 157acda5b1faf896cbe46e8860be02baac2b7f83 (patch) | |
tree | 9cc554d622c60b7e455cf1c14f223a974d51ad81 /drivers/net/ethernet/intel/ice/ice_lib.h | |
parent | a2ca73eae33f4a15304b7f4a71246bb66ded0b80 (diff) |
ice: drop unnecessary VF parameter from several VSI functions
The vsi->vf pointer gets assigned early on during ice_vsi_alloc. Several
functions currently take a VF pointer, but they can just use the existing
vsi->vf pointer as needed. Modify these functions to drop the unnecessary
VF parameter.
Note that ice_vsi_cfg is not changed as a following change will refactor so
that the VF pointer is assigned during ice_vsi_cfg rather than
ice_vsi_alloc.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.h')
0 files changed, 0 insertions, 0 deletions