commit | d56b47791d3464178be2aa2d61db694331d50d5a | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Mon Jul 08 16:12:25 2019 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Aug 01 14:50:19 2019 -0700 |
tree | a105644a8b1b21a5031d6b3dfd6b66eaae843b0a | |
parent | b731d079e1baa18137fff3daed59c7f0d5ab2424 [diff] |
fm10k: reduce the scope of the local i variable Reduce the scope of the local loop variable in the fm10k_check_hang_subtask function. This was detected by cppcheck and resolves the following warning produced by that tool: [driver/fm10k_pci.c:852]: (style) The scope of the variable 'i' 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>