aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-09-06 13:19:26 +0100
committerFelix Fietkau <[email protected]>2019-11-20 13:23:48 +0100
commit4482455409b044ed64b48e5e9c153469e2df7f86 (patch)
treef2e1df08685e9a92badbcd53ab571a4d6a42b1b4 /scripts/gdb/linux/tasks.py
parentaf3076db14b1d143d53815bd37033a1b684ed6bc (diff)
mt76: mt76x0e: make array mt76x0_chan_map static const, makes object smaller
Don't populate the array mt76x0_chan_map on the stack but instead make it static const. Makes the object code smaller by 80 bytes. Before: text data bss dec hex filename 7685 1192 0 8877 22ad mediatek/mt76/mt76x0/eeprom.o After: text data bss dec hex filename 7541 1256 0 8797 225d mediatek/mt76/mt76x0/eeprom.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions