linux/drivers/media
Jesper Juhl ef330dc2e7 [media] saa7164: Remove pointless conditional and save a few bytes in saa7164_downloadfirmware()
Hi,

release_firmware() just does nothing if passed a NULL pointer. So there's
no reason to test before the call in
saa7164-fw.c::saa7164_downloadfirmware().

Removing the pointless conditional also saves a few bytes.
before:
   text    data     bss     dec     hex filename
   7943     112    2144   10199    27d7 drivers/media/video/saa7164/saa7164-fw.o
after:
   text    data     bss     dec     hex filename
   7931     112    2136   10179    27c3 drivers/media/video/saa7164/saa7164-fw.o

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Cc: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-12-29 08:17:04 -02:00
..
common [media] drivers/media: Removed unnecessary KERN_<level>s from dprintk uses 2010-12-29 08:16:29 -02:00
dvb [media] drivers:media:dvb: add USB PIDs for Elgato EyeTV Sat 2010-12-29 08:17:03 -02:00
radio [media] V4L2: WL1273 FM Radio: TI WL1273 FM radio driver 2010-12-29 08:17:02 -02:00
rc [media] rc: ir-lirc-codec: fix potential integer overflow 2010-12-29 08:17:02 -02:00
video [media] saa7164: Remove pointless conditional and save a few bytes in saa7164_downloadfirmware() 2010-12-29 08:17:04 -02:00
Kconfig [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00
Makefile [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00