diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-08 16:12:25 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-01 14:50:19 -0700 |
| commit | d56b47791d3464178be2aa2d61db694331d50d5a (patch) | |
| tree | a105644a8b1b21a5031d6b3dfd6b66eaae843b0a /tools/perf/scripts/python | |
| parent | b731d079e1baa18137fff3daed59c7f0d5ab2424 (diff) | |
| download | linux-d56b47791d3464178be2aa2d61db694331d50d5a.tar.gz linux-d56b47791d3464178be2aa2d61db694331d50d5a.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
