summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2019-07-08 16:12:22 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-08-01 14:15:16 -0700
commit7a432d57e080ac16645a08e93dbf1159d31f405f (patch)
treec88280e5ebb00fbe5bab05b03a038cac152f54e3 /tools/perf/scripts/python/mem-phys-addr.py
parent57928c583ded1077c68168b0c7d34943612458da (diff)
downloadlinux-7a432d57e080ac16645a08e93dbf1159d31f405f.tar.gz
linux-7a432d57e080ac16645a08e93dbf1159d31f405f.zip
fm10k: reduce the scope of the q_idx local variable
Reduce the scope of the q_idx local variable in the fm10k_cache_ring_qos function. This was detected by cppcheck and resolves the following style warning produced by that tool: [fm10k_main.c:2016]: (style) The scope of the variable 'q_idx' 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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions