diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-19 21:40:19 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-10-04 12:07:46 +0300 |
commit | eba0f28473b2c20d4212ff19c118723a5a547e20 (patch) | |
tree | a8775c0341c10a2a713d34f7b617d3bdd6393219 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fd52bdae9ab06b4f444b77d833f403ad07b9e72e (diff) |
ath9k: make const array reg_hole_list static, reduces object code size
Don't populate the read-only array reg_hole_list on the stack, instead make
it static. Makes the object code smaller by over 200 bytes:
Before:
text data bss dec hex filename
57518 15248 0 72766 11c3e debug.o
After:
text data bss dec hex filename
57218 15344 0 72562 11b72 debug.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions