]> git.baikalelectronics.ru Git - kernel.git/commit
media: drxd: make const array fastIncrDecLUT static
authorColin Ian King <colin.king@canonical.com>
Thu, 2 Nov 2017 16:49:08 +0000 (12:49 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 7 Nov 2017 09:00:31 +0000 (04:00 -0500)
commitc16ada3981dfd1f0dd2407ae17b2cf2713e3417f
tree54e7df355b5a90af6575cdd6dd052480a616bd70
parent4ba63257219809e73a7838a46926485dc96ed02b
media: drxd: make const array fastIncrDecLUT static

Don't populate array fastIncrDecLUT on the stack but instead make it
static. Makes the object code smaller by over 360 bytes:

   text    data     bss     dec     hex filename
  32680     944      64   33688    8398 drxd_hard.o

   text    data     bss     dec     hex filename
  32223    1040      64   33327    822f drxd_hard.o

(gcc version 7.2.0 x86_64)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/drxd_hard.c