diff options
author | 2019-01-25 16:05:46 +0000 | |
---|---|---|
committer | 2019-01-28 21:49:12 +0100 | |
commit | 8471300fce4cf2593267d07d6db50709c89049b4 (patch) | |
tree | 997eb6babbd1291b416b46daf233a722491498a7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | wireguard-linux-8471300fce4cf2593267d07d6db50709c89049b4.tar.xz wireguard-linux-8471300fce4cf2593267d07d6db50709c89049b4.zip |
HID: elan: Make array buf static, shrinks object size
Don't populate the array buf on the stack but instead make it
static. Makes the object code smaller by 43 bytes:
Before:
text data bss dec hex filename
7769 1520 0 9289 2449 drivers/hid/hid-elan.o
After:
text data bss dec hex filename
7662 1584 0 9246 241e drivers/hid/hid-elan.o
(gcc version 8.2.0 x86_64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions