aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-08-01 15:26:50 +0000
committerJakub Kicinski <[email protected]>2021-08-02 22:02:04 +0000
commit771edeabcb9530e9e8020fb5f38111ba5dc1ad9c (patch)
tree6ee8c66bfdffa44d402dc9ab9745fea1e8e788c5 /net/unix/unix_bpf.c
parentdpaa2-eth: make the array faf_bits static const, makes object smaller (diff)
downloadkernel-771edeabcb9530e9e8020fb5f38111ba5dc1ad9c.tar.gz
kernel-771edeabcb9530e9e8020fb5f38111ba5dc1ad9c.zip
net: 3c509: make the array if_names static const, makes object smaller
Don't populate the array if_names on the stack but instead it static const. Makes the object code smaller by 99 bytes. Before: text data bss dec hex filename 27886 10752 672 39310 998e ./drivers/net/ethernet/3com/3c509.o After: text data bss dec hex filename 27723 10816 672 39211 992b ./drivers/net/ethernet/3com/3c509.o (gcc version 10.2.0) Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions