diff options
author | Colin Ian King | 2019-05-10 15:17:22 +0200 |
---|---|---|
committer | Jiri Kosina | 2019-05-22 13:18:44 +0200 |
commit | a96a8a576bf5cc45534d0079d7006fc3fe25282b (patch) | |
tree | e97568ca9e5943472555cf12dde82dbb16792634 /drivers/media/tuners/qt1010.c | |
parent | HID: logitech-dj: make const array template static (diff) | |
download | kernel-qcow2-linux-a96a8a576bf5cc45534d0079d7006fc3fe25282b.tar.gz kernel-qcow2-linux-a96a8a576bf5cc45534d0079d7006fc3fe25282b.tar.xz kernel-qcow2-linux-a96a8a576bf5cc45534d0079d7006fc3fe25282b.zip |
HID: logitech-hidpp: HID: make const array consumer_rdesc_start static
Don't populate the array consumer_rdesc_start on the stack but instead
make it static. Makes the object code smaller by 88 bytes.
Before:
text data bss dec hex filename
59155 9840 448 69443 10f43 drivers/hid/hid-logitech-hidpp.o
After:
text data bss dec hex filename
59003 9904 448 69355 10eeb drivers/hid/hid-logitech-hidpp.o
(gcc version 8.3.0, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/media/tuners/qt1010.c')
0 files changed, 0 insertions, 0 deletions