summaryrefslogtreecommitdiffstats
path: root/sound/mips
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-11-27 12:58:51 +0000
committerTakashi Iwai <tiwai@suse.de>2017-11-29 09:28:27 +0100
commita4a1b737032daf42e1e2ccd70bfceca56464ccac (patch)
tree2439050992d4330d2dbdbbc1306b218cf1918be9 /sound/mips
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-a4a1b737032daf42e1e2ccd70bfceca56464ccac.tar.gz
linux-a4a1b737032daf42e1e2ccd70bfceca56464ccac.tar.bz2
linux-a4a1b737032daf42e1e2ccd70bfceca56464ccac.zip
ALSA: drivers: make array 'names' const, reduces object code size
Don't populate array 'names' on the stack but instead make them static. Makes the object code smaller by 50 bytes: Before: text data bss dec hex filename 21237 9192 1120 31549 7b3d linux/sound/drivers/dummy.o After: text data bss dec hex filename 21095 9280 1120 31495 7b07 linux/sound/drivers/dummy.o (gcc version 7.2.0 x86_64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions