linux/drivers/net/hyperv
Colin Ian King 1b17ca044a 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>
2017-09-25 16:25:17 -07:00
..
hyperv_net.h hv_netvsc: fix send buffer failure on MTU change 2017-09-21 15:17:16 -07:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: fix send buffer failure on MTU change 2017-09-21 15:17:16 -07:00
netvsc.c hv_netvsc: make const array ver_list static, reduces object code size 2017-09-25 16:25:17 -07:00
rndis_filter.c hv_netvsc: avoid unnecessary wakeups on subchannel creation 2017-09-11 14:21:30 -07:00