diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-08-19 14:52:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-19 15:23:20 +0300 |
commit | 36d5825babbc9a5b504bb566f0241ac005b32721 (patch) | |
tree | 363ff3f2d6338af139013b96e5974a7bf5832ec8 /tools/perf/scripts/python | |
parent | 9f3ebe8fb5a40432dfe353a0d8c5f6f21281eb3c (diff) | |
download | linux-36d5825babbc9a5b504bb566f0241ac005b32721.tar.xz |
hinic: make array speeds static const, makes object smaller
Don't populate the array speeds on the stack but instead it
static const. Makes the object code smaller by 17 bytes:
Before:
text data bss dec hex filename
39987 14200 64 54251 d3eb .../huawei/hinic/hinic_sriov.o
After:
text data bss dec hex filename
39906 14264 64 54234 d3da .../huawei/hinic/hinic_sriov.o
(gcc version 10.3.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions