diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-08-01 07:32:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-02 12:14:05 +0100 |
commit | 6dfeb70276def839aa605edd274f8e9f6189dba3 (patch) | |
tree | f3e779595051cdc98d96cff62196592bfb95c65c /sound/soc/soc-ops.c | |
parent | 219691cf360136591e627badbd62f54097f99fc0 (diff) |
ASoC: rsnd: make some arrays static const, makes object smaller
Don't populate arrays on the stack but instead them static const.
Makes the object code smaller by 242 bytes.
Before:
text data bss dec hex filename
23827 8764 0 32591 7f4f ./sound/soc/sh/rcar/ssi.o
After:
text data bss dec hex filename
23361 8988 0 32349 7e5d ./sound/soc/sh/rcar/ssi.o
gcc version 10.2.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210801063237.137998-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-ops.c')
0 files changed, 0 insertions, 0 deletions