[Intel-wired-lan] [net-next PATCH 18/25] ice: make ice_reset_all_vfs void
Jankowski, Konrad0
konrad0.jankowski at intel.com
Wed Mar 2 19:47:00 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 18/25] ice: make ice_reset_all_vfs
> void
>
> The ice_reset_all_vfs function returns true if any VFs were reset, and false
> otherwise. However, no callers check the return value.
>
> Drop this return value and make the function void since the callers do not
> care about this.
>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_vf_lib.c | 8 +++-----
> drivers/net/ethernet/intel/ice/ice_vf_lib.h | 5 ++---
> 2 files changed, 5 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_vf_lib.c
> b/drivers/net/ethernet/intel/ice/ice_vf_lib.c
> index 996d84a3303d..6f9e8383c69b 100644
> --- a/drivers/net/ethernet/intel/ice/ice_vf_lib.c
> +++ b/drivers/net/ethernet/intel/ice/ice_vf_lib.c
Tested-by: Konrad Jankowski <konrad0.jankowski at intel.com>
More information about the Intel-wired-lan
mailing list