[Intel-wired-lan] [PATCH S37 06/15] ice: Remove CONFIG_PCI_IOV wrap in ice_set_pf_caps
Bowers, AndrewX
andrewx.bowers at intel.com
Fri Jan 24 23:17:08 UTC 2020
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Wednesday, January 22, 2020 7:21 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S37 06/15] ice: Remove CONFIG_PCI_IOV
> wrap in ice_set_pf_caps
>
> From: Anirudh Venkataramanan <anirudh.venkataramanan at intel.com>
>
> Remove unnecessary CONFIG_PCI_IOV wrapping in ice_set_pf_caps. None
> of the data structures accessed within the block are wrapped with this flag.
> When CONFIG_PCI_IOV is undefined, pf->num_vfs_supported will be 0
> anyway.
>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 2 --
> 1 file changed, 2 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list