summaryrefslogtreecommitdiffstats
path: root/drivers/net/ifb.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-22 16:50:23 +0100
committerDavid S. Miller <davem@davemloft.net>2017-09-25 16:25:17 -0700
commit1b17ca044a82342fb96529e1bdff6da7af90bc53 (patch)
tree13bcac9f48eeeca5e1702dd7ef35d745f3fc0e54 /drivers/net/ifb.c
parentb5d7388f9db78f19e6af7b56a469ca8d1860329d (diff)
downloadlinux-1b17ca044a82342fb96529e1bdff6da7af90bc53.tar.bz2
hv_netvsc: make const array ver_list static, reduces object code size
Don't populate const array ver_list on the stack, instead make it static. Makes the object code smaller by over 400 bytes: Before: text data bss dec hex filename 18444 3168 320 21932 55ac drivers/net/hyperv/netvsc.o After: text data bss dec hex filename 17950 3224 320 21494 53f6 drivers/net/hyperv/netvsc.o (gcc 6.3.0, x86-64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ifb.c')
0 files changed, 0 insertions, 0 deletions