diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-08-21 10:12:48 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-08-21 11:00:17 -0600 |
commit | 1e7da865b8c0428b9bcb18ba05ba0f6f47bcfdb4 (patch) | |
tree | a293b834432fb0a40fe0f064dce3d68408d80fd2 /kernel/trace/blktrace.c | |
parent | f5bbbbe4d63577026f908a809f22f5fd5a90ea1f (diff) | |
download | linux-stable-1e7da865b8c0428b9bcb18ba05ba0f6f47bcfdb4.tar.gz linux-stable-1e7da865b8c0428b9bcb18ba05ba0f6f47bcfdb4.tar.bz2 linux-stable-1e7da865b8c0428b9bcb18ba05ba0f6f47bcfdb4.zip |
block/DAC960.c: make some arrays static const, shrinks object size
Don't populate the arrays ReadCacheStatus, WriteCacheStatus and
SenseErrors on the stack but instead make them static const. Makes
the object code smaller by 47 bytes:
Before:
text data bss dec hex filename
160974 34628 832 196434 2ff52 drivers/block/DAC960.o
After:
text data bss dec hex filename
160671 34884 832 196387 2ff23 drivers/block/DAC960.o
(gcc version 8.2.0 x86_64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/trace/blktrace.c')
0 files changed, 0 insertions, 0 deletions