diff options
author | 2019-09-06 12:28:04 +0100 | |
---|---|---|
committer | 2019-09-07 18:03:05 +0200 | |
commit | e9ac25b70da4003fdcc95ecfb9bacce19ede03db (patch) | |
tree | e5fcb3742138316a0e7cba00e697261beee6ca06 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | be2net: make two arrays static const, makes object smaller (diff) | |
download | linux-dev-e9ac25b70da4003fdcc95ecfb9bacce19ede03db.tar.xz linux-dev-e9ac25b70da4003fdcc95ecfb9bacce19ede03db.zip |
net: hns3: make array spec_opcode static const, makes object smaller
Don't populate the array spec_opcode on the stack but instead make it
static const. Makes the object code smaller by 48 bytes.
Before:
text data bss dec hex filename
6914 1040 128 8082 1f92 hns3/hns3vf/hclgevf_cmd.o
After:
text data bss dec hex filename
6866 1040 128 8034 1f62 hns3/hns3vf/hclgevf_cmd.o
(gcc version 9.2.1, amd64)
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions