[Intel-wired-lan] [PATCH S17 05/17] ice: Reduce scope of variable in ice_vsi_cfg_rxqs

Bowers, AndrewX andrewx.bowers at intel.com
Fri Mar 8 00:28:12 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Thursday, February 28, 2019 3:26 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S17 05/17] ice: Reduce scope of variable in
> ice_vsi_cfg_rxqs
> 
> From: Brett Creeley <brett.creeley at intel.com>
> 
> Reduce scope of the variable 'err' to inside the for loop instead of using it as a
> second looping conditional. Also while here, improve the debug message if
> we fail to configure a Rx queue.
> 
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_lib.c | 18 +++++++++++-------
>  1 file changed, 11 insertions(+), 7 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list