[Intel-wired-lan] [net-next PATCH 17/25] ice: drop is_vflr parameter from ice_reset_all_vfs
Jankowski, Konrad0
konrad0.jankowski at intel.com
Wed Mar 2 19:47:35 UTC 2022
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jacob Keller
> Sent: Wednesday, February 23, 2022 1:27 AM
> To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
> Subject: [Intel-wired-lan] [net-next PATCH 17/25] ice: drop is_vflr parameter
> from ice_reset_all_vfs
>
> The ice_reset_all_vfs function takes a parameter to handle whether its
> operating after a VFLR event or not. This is not necessary as every caller
> always passes true. Simplify the interface by removing the parameter.
>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 4 ++--
> drivers/net/ethernet/intel/ice/ice_vf_lib.c | 5 ++---
> drivers/net/ethernet/intel/ice/ice_vf_lib.h | 4 ++--
> 3 files changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_main.c
> b/drivers/net/ethernet/intel/ice/ice_main.c
> index a628fa9f1442..af4befb22d0d 100644
> --- a/drivers/net/ethernet/intel/ice/ice_main.c
> +++ b/drivers/net/ethernet/intel/ice/ice_main.c
> @@ -768,7 +768,7 @@ static void ice_do_reset(struct ice_pf *pf, enum
Tested-by: Konrad Jankowski <konrad0.jankowski at intel.com>
More information about the Intel-wired-lan
mailing list