Re: [PATCH] mt76: make const array 'data' static, shrinks object size

2018-12-31 Thread Felix Fietkau
On 2018-12-30 14:26, Colin King wrote: > From: Colin Ian King > > Don't populate the const array 'data' on the stack but instead > make it static. Makes the object code smaller by 78 bytes: > > Before: >textdata bss dec hex filename >54381080 065181976 m

[PATCH] mt76: make const array 'data' static, shrinks object size

2018-12-30 Thread Colin King
From: Colin Ian King Don't populate the const array 'data' on the stack but instead make it static. Makes the object code smaller by 78 bytes: Before: textdata bss dec hex filename 54381080 065181976 mediatek/mt76/mt76x2/usb_mcu.o After: textdata