aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_phy.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-06 12:19:43 +0100
committerDavid S. Miller <davem@davemloft.net>2019-09-07 18:02:17 +0200
commitf4ee1476861b07b1f34b8aceacde1c9a01b4cdfc (patch)
treeb73f792fcc124cb5b3ef94f0668ecd031f9e7d38 /drivers/net/ethernet/intel/igc/igc_phy.c
parent52d565404647ca5924c49d87c46cb2bd66f5562b (diff)
be2net: make two arrays static const, makes object smaller
Don't populate the arrays on the stack but instead make them static const. Makes the object code smaller by 281 bytes. Before: text data bss dec hex filename 87553 5672 0 93225 16c29 benet/be_cmds.o After: text data bss dec hex filename 87112 5832 0 92944 16b10 benet/be_cmds.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_phy.c')
0 files changed, 0 insertions, 0 deletions