commit | 96cbe3d638e4287db6482b6223367d3e6cf5871e | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Sep 22 16:39:02 2017 +0100 |
committer | Kalle Valo <kvalo@codeaurora.org> | Mon Sep 25 11:30:20 2017 +0300 |
tree | 76169661485fa4bc7ab5b6211c3ecf23639bea44 | |
parent | 9b029e178ea174acd96a5ddf97b04c70f4e57885 [diff] |
b43: make const arrays static, reduces object code size Don't populate const arrays on the stack, instead make them static. Makes the object code smaller by over 60 bytes: Before: text data bss dec hex filename 14816 1296 0 16112 3ef0 b43/phy_ht.o After: text data bss dec hex filename 14551 1496 0 16047 3eaf b43/phy_ht.o (gcc 6.3.0, x86-64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>