summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci_st.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-19 09:39:52 +0100
committerTejun Heo <tj@kernel.org>2017-09-19 11:53:11 -0700
commite94f7914fa8731cc64260c0a3a0b7b9957523730 (patch)
treea0edf48c133f53895e1806e31840221132350ceb /drivers/ata/ahci_st.c
parent01bb12e49b85ee99fa8445cbbc450092cd34afc9 (diff)
libata: make static arrays const, reduces object code size
Don't populate const arrayis on the stack, instead make them static. Makes the object code smaller by over 260 bytes: Before: text data bss dec hex filename 64864 5948 4128 74940 124bc drivers/ata/libata-scsi.o After: text data bss dec hex filename 64183 6364 4128 74675 123b3 drivers/ata/libata-scsi.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_st.c')
0 files changed, 0 insertions, 0 deletions