ice: clean up freeing SR-IOV VFs
authorPrzemek Kitszel <przemyslaw.kitszel@intel.com>
Wed, 31 May 2023 12:36:42 +0000 (14:36 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 22 Jun 2023 17:29:31 +0000 (10:29 -0700)
commitf98277479ad85ff1398e11c1e944ba97c3917393
treee2dc50c2630eb4b4574d366124d458bdc0972990
parent469748429ac81f0a6a344637fc9d3b1d16a9f3d8
ice: clean up freeing SR-IOV VFs

The check for existing VFs was redundant since very
inception of SR-IOV sysfs interface in the kernel,
see commit 1789382a72a5 ("PCI: SRIOV control and status via sysfs").

Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_sriov.c