diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-09-06 17:14:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-09-09 10:50:51 +0100 |
commit | 78b93b04771bdbefe94b84222506ba992f579c98 (patch) | |
tree | c7b4ae473da0bd23b5553222c3a8c3dc04a31aec /scripts/kconfig/expr.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 <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20190906161404.1440-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/kconfig/expr.c')
0 files changed, 0 insertions, 0 deletions