aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNikolay Kyx <[email protected]>2021-03-02 16:32:17 +0300
committerGreg Kroah-Hartman <[email protected]>2021-03-10 09:25:33 +0100
commitd278360a3b3301c9e2bfb6a350cb2763edd9ee23 (patch)
tree149e177ec7d807c7b14fcb56072d075dc302051a /tools/perf/scripts/python/event_analyzing_sample.py
parent7f33733cf131faf3ba25e82788f0d615be4d836e (diff)
staging: rtl8192e: remove redundant variable shadowing
In function rtl92e_start_adapter() automatic variable 'i' referenced only within certain loops, used as iteration counter. Control flow can't get into such loop w/o 'i = 0' assignment. It's redundant to shadow this variable by creating scope around loop. This patch fixes the following sparse warning: warning: symbol 'i' shadows an earlier one Signed-off-by: Nikolay Kyx <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions