diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-01-06 19:15:14 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2018-01-08 23:44:22 +0300 |
commit | cca32837f0f5fb794d0d486bc76ed0bfb703de7b (patch) | |
tree | 68505db28af423badeb1c91096f69422ac7ae7da /Documentation/driver-model/device.txt | |
parent | a3a446c7c0e643f740990a7bc2950e75856beb3c (diff) | |
download | linux-cca32837f0f5fb794d0d486bc76ed0bfb703de7b.tar.xz |
Bluetooth: bpa10x: make array 'req' static, shrinks object size
Don't populate the const read-only array 'req' on the stack but instead
make it static. Makes the object code smaller by over 40 bytes:
Before:
text data bss dec hex filename
8497 3408 128 12033 2f01 linux/drivers/bluetooth/bpa10x.o
After:
text data bss dec hex filename
8366 3496 128 11990 2ed6 linux/drivers/bluetooth/bpa10x.o
(gcc version 7.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 'Documentation/driver-model/device.txt')
0 files changed, 0 insertions, 0 deletions