diff options
author | Colin Ian King <[email protected]> | 2017-11-27 12:58:51 +0000 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2017-11-29 09:28:27 +0100 |
commit | a4a1b737032daf42e1e2ccd70bfceca56464ccac (patch) | |
tree | 2439050992d4330d2dbdbbc1306b218cf1918be9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) |
ALSA: drivers: make array 'names' const, reduces object code size
Don't populate array 'names' on the stack but instead make them static.
Makes the object code smaller by 50 bytes:
Before:
text data bss dec hex filename
21237 9192 1120 31549 7b3d linux/sound/drivers/dummy.o
After:
text data bss dec hex filename
21095 9280 1120 31495 7b07 linux/sound/drivers/dummy.o
(gcc version 7.2.0 x86_64)
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions