aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-09-07 08:37:17 +0100
committerMark Brown <[email protected]>2019-09-09 10:51:36 +0100
commit2b70d5776e8b173e3b36a2ef63d94428c6a80e1f (patch)
tree590d2a256a8b504e157fb00bda2219f1645e9ebf /scripts/gcc-plugins/cyc_complexity_plugin.c
parent2458adb8f92ad4d07ef7ab27c5bafa1d3f4678d6 (diff)
ASoC: rt1011: make array pd static const, makes object smaller
Don't populate the array pd on the stack but instead make it static const. Makes the object code smaller by 100 bytes. Before: text data bss dec hex filename 51463 13016 128 64607 fc5f sound/soc/codecs/rt1011.o After: text data bss dec hex filename 51299 13080 128 64507 fbfb sound/soc/codecs/rt1011.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