lkml.org 
[lkml]   [2021]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][next] ALSA: hda/ca0132: Make a const array static, makes object smaller
On Wed, 26 May 2021 18:06:16 +0200,
Colin King wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> Don't populate the const array dsp_dma_stream_ids the stack but instead
> make it static. Makes the object code smaller by 21 bytes.
>
> Before:
> text data bss dec hex filename
> 189012 70376 192 259580 3f5fc ./sound/pci/hda/patch_ca0132.o
>
> After:
> text data bss dec hex filename
> 188927 70440 192 259559 3f5e7 ./sound/pci/hda/patch_ca0132.o
>
> (gcc version 10.3.0)
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Thanks, applied.


Takashi

\
 
 \ /
  Last update: 2021-05-27 08:27    [W:0.083 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site