diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-09 02:12:18 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-01 23:57:33 +0300 |
| commit | 30b1b498d7568ea8db387308087d30292fb32b8b (patch) | |
| tree | 7ac855f31c885f62e54b9f862dc2ecfebbcfdeb9 /tools/perf/scripts/python | |
| parent | a8e600e2184f45c40025cbe4d7e8893b69378a9f (diff) | |
| download | linux-30b1b498d7568ea8db387308087d30292fb32b8b.tar.xz | |
fm10k: reduce scope of the err variable
Reduce the scope of the err local variable in the fm10k_dcbnl_ieee_setets
function.
This was detected using cppcheck, and resolves the following style
warning:
[fm10k_dcbnl.c:37]: (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')
0 files changed, 0 insertions, 0 deletions
