aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMaciej W. Rozycki <[email protected]>2014-06-28 23:28:08 +0100
committerRalf Baechle <[email protected]>2014-07-30 15:50:52 +0200
commitbf4aac07b5cc21517bde0bf132cba5e72955513c (patch)
tree687bf4e34645b5cbc4d5e75b01c0f3b6e8092d20 /tools/perf/scripts/python/net_dropmonitor.py
parentb37f0f691e69b0325b6f448679e0e338dbd076e2 (diff)
MIPS: c-r4k: Avoid duplicate CPU_74K/CPU_1074K checks
Code in a switch statement in probe_pcache checks the CPU type twice unnecessarily for processor implementations that have the alias removal feature reported by the CP0 Config7.AR and Config7.IAR bits. This change rewrites the affected fragment avoiding the extraneous check and improving readability. Signed-off-by: Maciej W. Rozycki <[email protected]> Cc: Steven J. Hill <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/7221/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions