diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-08 16:12:24 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-01 14:47:10 -0700 |
| commit | b731d079e1baa18137fff3daed59c7f0d5ab2424 (patch) | |
| tree | 7571e3668c073cc488572c7b65a65ab10a9a71dd /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | fb381e60b8eb1eea61db07bdca436409229a8743 (diff) | |
| download | linux-b731d079e1baa18137fff3daed59c7f0d5ab2424.tar.gz linux-b731d079e1baa18137fff3daed59c7f0d5ab2424.zip | |
fm10k: reduce the scope of the err variable
Reduce the scope of the local variable err in the fm10k_detach_subtask
function.
This was detected by cppcheck and resolves the following warning
produced by that tool:
[fm10k_pci.c:403]: (style) The scope of the variable 'err' 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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
