aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-08-01 07:01:55 +0000
committerJakub Kicinski <[email protected]>2021-08-02 16:15:07 +0000
commit1187c8c4642d109037202b43a5054adaef78b760 (patch)
tree6dce5f22745e3aba48c959e0cab35197c1882e62 /net/unix/unix_bpf.c
parentnetdevsim: make array res_ids static const, makes object smaller (diff)
downloadkernel-1187c8c4642d109037202b43a5054adaef78b760.tar.gz
kernel-1187c8c4642d109037202b43a5054adaef78b760.zip
net: phy: mscc: make some arrays static const, makes object smaller
Don't populate arrays on the stack but instead them static const. Makes the object code smaller by 280 bytes. Before: text data bss dec hex filename 24142 4368 192 28702 701e ./drivers/net/phy/mscc/mscc_ptp.o After: text data bss dec hex filename 23830 4400 192 28422 6f06 ./drivers/net/phy/mscc/mscc_ptp.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