diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-09-06 18:39:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-12 10:35:52 +0100 |
commit | 0ba4d388d70ed5f6756887ee9184d800110ef23b (patch) | |
tree | 3d7ff6e5e56d1d6f9f0569f3610cd4d82c9732e9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d9c35cca30d326df271e3f8a5e723dc4fe9a1457 (diff) |
staging: rtl8188eu: make two arrays static const, makes object smaller
Don't populate two arrays on the stack but instead make them
static const. Makes the object code smaller by 49 bytes.
Before:
text data bss dec hex filename
26821 5616 0 32437 7eb5 rtl8188eu/core/rtw_ieee80211.o
After:
text data bss dec hex filename
26612 5776 0 32388 7e84 rtl8188eu/core/rtw_ieee80211.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Link: https://lore.kernel.org/r/20190906173949.21860-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions