aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorBob Copeland <[email protected]>2016-04-16 10:54:37 -0400
committerKalle Valo <[email protected]>2016-09-09 15:12:18 +0300
commitb5182e157d3a1d94d7ee6b4f4cb8267f9d7ad606 (patch)
treed2ac1709e89784ffc30f05593e3beb8d0a1d0035 /tools/perf/scripts/python/sched-migration.py
parent77eb3d693182b4eaa88c6ba406fbb92b1f1bd636 (diff)
ath9k: remove repetitions of mask array size
The constant "123", which is the number of elements in mask_m / mask_p, is repeated several times in this function. Replace memsets with array initialization, and replace a loop conditional with ARRAY_SIZE() so that we don't repeat ourselves. Signed-off-by: Bob Copeland <[email protected]> Reviewed-by: Oleksij Rempel <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions