]> git.karo-electronics.de Git - linux-beck.git/commit
[media] drx-j: comment or remove unused code
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 24 Jan 2014 16:16:16 +0000 (13:16 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Mar 2014 17:36:10 +0000 (14:36 -0300)
commit74c8794a8fbc79efa2c5e73bf36121551bbd34bf
tree9428af0f5f87a7cb005cbf8ed534d846db1fa419
parentb0baeb494e4e1707cdd690126fac1964581e8db2
[media] drx-j: comment or remove unused code

In order to avoid warnings and to remove dead code, remove
the functions that don't make sense to happen, while commenting
the others that might still be useful some day.

That reduced a lot the text size:

Before:

   text    data     bss     dec     hex filename
  58419    2916       4   61339    ef9b drivers/media/dvb-frontends/drx39xyj/drx39xyj.ko

After:
   text    data     bss     dec     hex filename
  78331    2916       4   81251   13d63 drivers/media/dvb-frontends/drx39xyj/drx39xyj.ko

Without any functional changes.

It could be make sense latter to remove those drivers or to
move them into an analog-specific part of the driver.

Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/drx39xyj/drxj.c