commit | 4f9e05fb44f7fca787586f99a8b7f0da6c15eadf | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Mon Jul 08 16:12:20 2019 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Aug 01 14:09:39 2019 -0700 |
tree | 46b1d00b7ba72ca143038aec08aa3fdff829cd97 | |
parent | a5c0d861280dc7d596d875213e691a046b430597 [diff] |
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@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>