diff options
author | Colin Ian King <[email protected]> | 2019-09-06 17:14:04 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-09-09 10:50:51 +0100 |
commit | 78b93b04771bdbefe94b84222506ba992f579c98 (patch) | |
tree | c7b4ae473da0bd23b5553222c3a8c3dc04a31aec /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | ebe02a5b9ef05e3b812af3d628cdf6206d9ba610 (diff) |
ASoC: codecs: ad193x: make two arrays static const, makes object smaller
Don't populate the arrays on the stack but instead make them
static const. Makes the object code smaller by 37 bytes.
Before:
text data bss dec hex filename
16253 7200 0 23453 5b9d sound/soc/codecs/ad193x.o
After:
text data bss dec hex filename
16056 7360 0 23416 5b78 sound/soc/codecs/ad193x.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions