diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-02-04 18:03:13 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-02-06 15:33:22 +0530 |
commit | 43851904cbd7c7bb18c84cc553b6232ace23747b (patch) | |
tree | a6b553431bcff72585d17cfff0c44654ae646b8d /tools/perf/scripts/python/stackcollapse.py | |
parent | 3dbbc8e97cb267ef2af03e5545211f260291f830 (diff) |
phy: qcom-qmp: make a const array static, makes object smaller
Don't populate the const array cfg1_settings on the stack but instead make
it static. Makes the object code smaller by 24 bytes:
Before:
text data bss dec hex filename
73585 20240 64 93889 16ec1 drivers/phy/qualcomm/phy-qcom-qmp.o
After:
text data bss dec hex filename
73465 20336 64 93865 16ea9 drivers/phy/qualcomm/phy-qcom-qmp.o
(gcc version 10.2.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210204180313.108876-1-colin.king@canonical.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions