diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-08-19 13:16:51 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-08-21 20:50:23 +0300 |
commit | da2c9cedc0d0047d3b93764e870969e74835149a (patch) | |
tree | 5a52bddadbe5ace7e8805d5b5e70691252c364be /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 090f2c5d3d077793da6a78db8d9535bc9a759857 (diff) |
mwifiex: make arrays static const, makes object smaller
Don't populate the arrays wpa_oui and wps_oui on the stack but
instead them static const. Makes the object code smaller by 63 bytes:
Before:
text data bss dec hex filename
29453 5451 64 34968 8898 .../wireless/marvell/mwifiex/sta_ioctl.o
After:
text data bss dec hex filename
29356 5611 64 35031 88d7 ../wireless/marvell/mwifiex/sta_ioctl.o
(gcc version 10.3.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210819121651.7566-1-colin.king@canonical.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions