summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-10-20 16:42:03 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-11-03 22:30:32 +0100
commitc3ddac4b0c9a280d4d5b670b4d39c50fee88579e (patch)
treed17f48e6e795546bd5dc7fc489a27d1fafe820c9 /init
parent78656ea235191c8cf8475f8335860ca4192243a4 (diff)
downloadlinux-stable-c3ddac4b0c9a280d4d5b670b4d39c50fee88579e.tar.gz
linux-stable-c3ddac4b0c9a280d4d5b670b4d39c50fee88579e.tar.bz2
linux-stable-c3ddac4b0c9a280d4d5b670b4d39c50fee88579e.zip
can: isotp: padlen(): make const array static, makes object smaller
Don't populate the const array plen on the stack but instead it static. Makes the object code smaller by 926 bytes. Before: text data bss dec hex filename 26531 1943 64 28538 6f7a net/can/isotp.o After: text data bss dec hex filename 25509 2039 64 27612 6bdc net/can/isotp.o (gcc version 10.2.0) Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20201020154203.54711-1-colin.king@canonical.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions