diff options
| author | Colin Ian King <colin.king@canonical.com> | 2021-05-05 20:01:04 +0100 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-05-21 22:50:22 -0400 |
| commit | 5ac3c649f11cb457dd40f6dde58cb029181c2700 (patch) | |
| tree | 2995a2b7aded0a83d6436114accfef09fde423da /lib/mpi/mpicoder.c | |
| parent | 86cfe4ad248ddf4ce7e4801374ef7f27f23711cf (diff) | |
scsi: ufs: ufs-exynos: Make a const array static, makes object smaller
Don't populate the const array granularity_tbl on the stack but instead
make it static. Makes the object code smaller by 190 bytes:
Before:
text data bss dec hex filename
25563 6908 0 32471 7ed7 ./drivers/scsi/ufs/ufs-exynos.o
After:
text data bss dec hex filename
25213 7068 0 32281 7e19 ./drivers/scsi/ufs/ufs-exynos.o
(gcc version 10.3.0)
Link: https://lore.kernel.org/r/20210505190104.70112-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
