Re: [PATCH] Bluetooth: btrtl: Make array extension_sig static, shrinks object size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Colin,

> Don't populate the array extension_sig on the stack but instead make it
> static. Makes the object code smaller by 75 bytes:
> 
> Before:
>   text	   data	    bss	    dec	    hex	filename
>  14325	   4920	      0	  19245	   4b2d	drivers/bluetooth/btrtl.o
> 
> After:
>   text	   data	    bss	    dec	    hex	filename
>  14186	   4984	      0	  19170	   4ae2	drivers/bluetooth/btrtl.o
> 
> (gcc version 8.2.0 x86_64)
> 
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/bluetooth/btrtl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux