diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-01-24 20:22:54 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-01-25 10:53:58 +0300 |
commit | 1e4b6e91b46d26fdee2385f33a18115db2f0b490 (patch) | |
tree | aab51a18a5a1674f4381404409486ec94d4086d6 /init/do_mounts.c | |
parent | dc786b2c2c1bc0730ab88e403c33de0989da7f48 (diff) | |
download | linux-1e4b6e91b46d26fdee2385f33a18115db2f0b490.tar.xz |
Bluetooth: make hw_err static, reduces object code size
Don't populate the const array hw_err on the stack but instead make
it static. Makes the object code smaller by 45 bytes:
Before:
text data bss dec hex filename
100880 21090 1088 123058 1e0b2 linux/net/bluetooth/hci_core.o
After:
text data bss dec hex filename
100739 21186 1088 123013 1e085 linux/net/bluetooth/hci_core.o
(gcc version 8.2.0 x86_64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions