diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-10-06 16:29:56 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-08 15:26:31 +0100 |
commit | 44bdc2fb63aafaa5984caf7d1e9d2b6d0d381766 (patch) | |
tree | 042b1ac55279a647cc50822766d07542135203a2 /crypto | |
parent | ata_piix: remove open-coded dmi_match(DMI_OEM_STRING) (diff) | |
download | linux-44bdc2fb63aafaa5984caf7d1e9d2b6d0d381766.tar.xz linux-44bdc2fb63aafaa5984caf7d1e9d2b6d0d381766.zip |
ata: pata_artop: make arrays static const, makes object smaller
Don't populate the const arrays on the stack but instead make them
static. Makes the object code smaller by 292 bytes.
Before:
text data bss dec hex filename
6988 3132 128 10248 2808 drivers/ata/pata_artop.o
After:
text data bss dec hex filename
6536 3292 128 9956 26e4 drivers/ata/pata_artop.o
(gcc version 9.2.1, amd64)
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions