diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-09 02:12:21 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-02 00:13:18 +0300 |
| commit | 57928c583ded1077c68168b0c7d34943612458da (patch) | |
| tree | c8b0df75f8a8a027a3c8b36817d0a4f4e5f65dc8 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 4f9e05fb44f7fca787586f99a8b7f0da6c15eadf (diff) | |
| download | linux-57928c583ded1077c68168b0c7d34943612458da.tar.xz | |
fm10k: reduce the scope of local err variable
Reduce the scope of the local err variable in the fm10k_iov_alloc_data
function.
This was detected by cppcheck and resolves the following style warning
produced by that tool:
[fm10k_iov.c:426]: (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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
