aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2019-07-08 16:12:19 -0700
committerJeff Kirsher <[email protected]>2019-08-01 14:01:18 -0700
commita5c0d861280dc7d596d875213e691a046b430597 (patch)
tree1961bd099fd6dd7f09e0978656519e9e92fca50e /tools/perf/scripts/python/intel-pt-events.py
parent30b1b498d7568ea8db387308087d30292fb32b8b (diff)
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 <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions