diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-09-05 12:01:30 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-09-05 17:56:33 -0700 |
commit | 410f25de467ee94c1a577c6ee7370c37b376c17c (patch) | |
tree | 48052747f284bd78de46b108b77280a2b58bbd9c /fs/gfs2/glops.h | |
parent | 4370b231d1001e0b560f82fd93616c7e54bd5fda (diff) | |
download | linux-410f25de467ee94c1a577c6ee7370c37b376c17c.tar.bz2 |
Input: sidewinder - make array seq static const, makes object smaller
Don't populate the array seq on the stack but instead make it
static const. Makes the object code smaller by 30 bytes.
Before:
text data bss dec hex filename
22284 3184 0 25468 637c drivers/input/joystick/sidewinder.o
After:
text data bss dec hex filename
22158 3280 0 25438 635e drivers/input/joystick/sidewinder.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'fs/gfs2/glops.h')
0 files changed, 0 insertions, 0 deletions