aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJean Sacren <[email protected]>2015-09-19 05:08:40 -0600
committerJeff Kirsher <[email protected]>2015-12-12 23:10:22 -0800
commit4e01f3a802b5910b25814e1d0fd05907edffed6f (patch)
tree4cb2fe09648559aec581bdbf1e17d9142cf85f46 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent08c991297582114a6e1220f913eec91789c4eac6 (diff)
e1000: clean up the checking logic
The checking logic needed some clean-up work, so we rewrite it by checking for break first. With that change in place, we can even move the second check for goto statement outside of the loop. As this is merely a cleanup, no functional change is involved. The questionable 'tmp != 0xFF' is intentionally left alone. Mark Rustad and Alexander Duyck contributed to this patch. CC: Mark Rustad <[email protected]> CC: Alex Duyck <[email protected]> Signed-off-by: Jean Sacren <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions