[Intel-wired-lan] [PATCH 03/19] fm10k: reduce the scope of qv local variable

Bowers, AndrewX andrewx.bowers at intel.com
Fri Jul 12 18:00:33 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Jacob Keller
> Sent: Monday, July 8, 2019 4:12 PM
> To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
> Subject: [Intel-wired-lan] [PATCH 03/19] fm10k: reduce the scope of qv local
> variable
> 
> Reduce the scope of the qv vector pointer local variable in the
> fm10k_set_coalesce function.
> 
> This was detected by cppcheck and resolves the following style warning
> produced by that tool:
> 
> [fm10k_ethtool.c:658]: (style) The scope of the variable 'qv' can be reduced.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

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




More information about the Intel-wired-lan mailing list