diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-06 09:56:29 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-09-06 07:40:28 -0700 |
commit | 795ef788145ed2fa023efdf11e8d5d7bedc21462 (patch) | |
tree | 269cf02835365f1ceb1ee5b0abc777172f55ceb1 /drivers/ata/pata_pdc2027x.c | |
parent | f723fa4e69920f6a5dd5fa0d10ce90e2f14d189c (diff) | |
download | linux-stable-795ef788145ed2fa023efdf11e8d5d7bedc21462.tar.gz linux-stable-795ef788145ed2fa023efdf11e8d5d7bedc21462.tar.bz2 linux-stable-795ef788145ed2fa023efdf11e8d5d7bedc21462.zip |
libata: zpodd: make arrays cdb static, reduces object code size
Don't populate the arrays cdb on the stack, instead make them static.
Makes the object code smaller by 230 bytes:
Before:
text data bss dec hex filename
3797 240 0 4037 fc5 drivers/ata/libata-zpodd.o
After:
text data bss dec hex filename
3407 400 0 3807 edf drivers/ata/libata-zpodd.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/pata_pdc2027x.c')
0 files changed, 0 insertions, 0 deletions