diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-09 02:12:19 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-02 00:01:18 +0300 |
| commit | a5c0d861280dc7d596d875213e691a046b430597 (patch) | |
| tree | 1961bd099fd6dd7f09e0978656519e9e92fca50e /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 30b1b498d7568ea8db387308087d30292fb32b8b (diff) | |
| download | linux-a5c0d861280dc7d596d875213e691a046b430597.tar.xz | |
fm10k: reduce scope of *p local variable
Reduce the scope of the char *p local variable to only the block where
it is used.
This was detected by cppcheck and resolves the following style warning
produced by that tool:
[fm10k_ethtool.c:229]: (style) The scope of the variable 'p' 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
