summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/jme.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-06 12:33:56 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-09-11 09:10:46 -0700
commit64d8db7dcf683f92c9c87cb528626804f261c5ee (patch)
tree6eab4227fca158252308aab58ddf25b269929f2c /drivers/net/ethernet/jme.c
parentc5c922b3e09b6e5eeb9cd2b1122f3e49c0bf2283 (diff)
net/ixgbevf: make array api static const, makes object smaller
Don't populate the array API on the stack but instead make it static const. Makes the object code smaller by 58 bytes. Before: text data bss dec hex filename 82969 9763 256 92988 16b3c ixgbevf/ixgbevf_main.o After: text data bss dec hex filename 82815 9859 256 92930 16b02 ixgbevf/ixgbevf_main.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/jme.c')
0 files changed, 0 insertions, 0 deletions