aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/net.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-10-07 12:03:08 +0000
committerJakub Kicinski <[email protected]>2019-10-08 18:47:41 +0000
commitc4256794dfdc429d61494a0d1fe1e8212e00803f (patch)
treee4221b1fcf43e0a9b53a967c94284cbd4f403cf3 /net/tipc/net.c
parentnfp: bpf: make array exp_mask static, makes object smaller (diff)
downloadkernel-c4256794dfdc429d61494a0d1fe1e8212e00803f.tar.gz
kernel-c4256794dfdc429d61494a0d1fe1e8212e00803f.zip
net: phy: mscc: make arrays static, makes object smaller
Don't populate const arrays on the stack but instead make them static. Makes the object code smaller by 1058 bytes. Before: text data bss dec hex filename 29879 6144 0 36023 8cb7 drivers/net/phy/mscc.o After: text data bss dec hex filename 28437 6528 0 34965 8895 drivers/net/phy/mscc.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions