return err;
        }
 
-       /* Update the lan_vsi_num field since it might have been changed. The
-        * PF lan_vsi_idx number remains the same so we don't need to change
-        * that.
-        */
-       vf->lan_vsi_num = vsi->vsi_num;
-
        return 0;
 }
 
         * vf->lan_vsi_idx
         */
        vsi->vsi_num = ice_get_hw_vsi_num(&pf->hw, vsi->idx);
-       vf->lan_vsi_num = vsi->vsi_num;
 
        return 0;
 }
 }
 
 /**
- * ice_vf_invalidate_vsi - invalidate vsi_idx/vsi_num to remove VSI access
+ * ice_vf_invalidate_vsi - invalidate vsi_idx to remove VSI access
  * @vf: VF to remove access to VSI for
  */
 void ice_vf_invalidate_vsi(struct ice_vf *vf)
 {
        vf->lan_vsi_idx = ICE_NO_VSI;
-       vf->lan_vsi_num = ICE_NO_VSI;
 }
 
 /**
 
        u8 spoofchk:1;
        u8 link_forced:1;
        u8 link_up:1;                   /* only valid if VF link is forced */
-       /* VSI indices - actual VSI pointers are maintained in the PF structure
-        * When assigned, these will be non-zero, because VSI 0 is always
-        * the main LAN VSI for the PF.
-        */
-       u16 lan_vsi_num;                /* ID as used by firmware */
        unsigned int min_tx_rate;       /* Minimum Tx bandwidth limit in Mbps */
        unsigned int max_tx_rate;       /* Maximum Tx bandwidth limit in Mbps */
        DECLARE_BITMAP(vf_states, ICE_VF_STATES_NBITS); /* VF runtime states */