diff options
author | Kuninori Morimoto <[email protected]> | 2021-08-20 13:09:14 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-08-20 13:07:25 +0100 |
commit | 28889de643cd14617e28f862e6763754ad28f7c4 (patch) | |
tree | 664ce13a096d6281bba90bdff67d16d736b77102 /lib | |
parent | 5d925d9823aaf18d55fab784bd4ef11f80fe1099 (diff) |
ASoC: rsnd: core: 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 48 bytes.
Before:
text data bss dec hex filename
20938 916 104 21958 55c6 ./sound/soc/sh/rcar/core.o
After:
text data bss dec hex filename
20890 916 104 21910 5596 ./sound/soc/sh/rcar/core.o
gcc version 11.1.0)
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions