diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-09 02:12:27 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-02 00:59:21 +0300 |
| commit | 8e03f26b716f87c3bd1da212ec0fb3869ea47e64 (patch) | |
| tree | 35d54cbb1e313744c7c0145f7c82b51d76ce388c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 71974d7e8556860c5ebe9bb37d598975f1e0c4e3 (diff) | |
| download | linux-8e03f26b716f87c3bd1da212ec0fb3869ea47e64.tar.xz | |
fm10k: reduce the scope of the result local variable
Reduce the scope of the result local variable in the
fm10k_iov_msg_lport_state_pf function.
This was detected by cppcheck and resolves the following warning
produced by that tool:
[fm10k_pf.c:1435]: (style) The scope of the variable 'result' 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
