diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-08 16:12:28 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-01 15:04:35 -0700 |
| commit | df87b8fcf8fe658518fa8e75c9379e5bdfaf908c (patch) | |
| tree | 4fa84b42805f0a2e3db508665f8421bf7fa7963b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | fm10k: reduce the scope of the result local variable (diff) | |
| download | linux-df87b8fcf8fe658518fa8e75c9379e5bdfaf908c.tar.gz linux-df87b8fcf8fe658518fa8e75c9379e5bdfaf908c.zip | |
fm10k: reduce scope of the ring variable
Reduce the scope of the ring local variable in the fm10k_assign_l2_accel
function.
This was detected by cppcheck and resolves the following warning
produced by that tool:
[fm10k_netdev.c:1447]: (style) The scope of the variable 'ring' 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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
