diff options
author | 2017-09-22 15:11:38 +0100 | |
---|---|---|
committer | 2017-10-13 14:23:57 -0700 | |
commit | b06da8f939ff8dcf28eb9b86aae933850658742e (patch) | |
tree | 858ff94c281b1df877a3a4458f041b3a15a5cf7b /net/lapb/lapb_timer.c | |
parent | i40e: Add support setting TC max bandwidth rates (diff) | |
download | wireguard-linux-b06da8f939ff8dcf28eb9b86aae933850658742e.tar.xz wireguard-linux-b06da8f939ff8dcf28eb9b86aae933850658742e.zip |
i40e: make const array patterns static, reduces object code size
Don't populate const array patterns on the stack, instead make it
static. Makes the object code smaller by over 60 bytes:
Before:
text data bss dec hex filename
1953 496 0 2449 991 i40e_diag.o
After:
text data bss dec hex filename
1798 584 0 2382 94e i40e_diag.o
(gcc 6.3.0, x86-64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions