aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2019-07-08 16:12:23 -0700
committerJeff Kirsher <[email protected]>2019-08-01 14:38:18 -0700
commitfb381e60b8eb1eea61db07bdca436409229a8743 (patch)
treeb10658332ec3e302976831f68e872beb89fbd8bc /tools/perf/scripts/python
parent7a432d57e080ac16645a08e93dbf1159d31f405f (diff)
fm10k: reduce the scope of the tx_buffer variable
The tx_buffer local variable in the function fm10k_clean_tx_ring is not used except inside a smaller block scope. Reduce the scope to its point of use. This was detected by cppcheck and resolves the following style warning produced by that tool: [fm10k_netdev.c:179]: (style) The scope of the variable 'tx_buffer' 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')
0 files changed, 0 insertions, 0 deletions