linux_dsm_epyc7002/drivers/media/video/saa7164
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
..
Kconfig V4L/DVB (12968): saa7164: fix Kconfig: remove HOTPLUG dependency 2009-09-19 00:16:09 -03:00
Makefile [media] saa7164: add NTSC VBI support 2010-10-21 07:55:06 -02:00
saa7164-api.c [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00
saa7164-buffer.c [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00
saa7164-bus.c [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00
saa7164-cards.c [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00
saa7164-cmd.c [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00
saa7164-core.c [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00
saa7164-dvb.c [media] saa7164: saa7164-buffer.c line 274 bugfix 2010-10-21 07:55:19 -02:00
saa7164-encoder.c [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00
saa7164-fw.c [media] saa7164: Remove pointless conditional and save a few bytes in saa7164_downloadfirmware() 2010-12-29 08:17:04 -02:00
saa7164-i2c.c [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00
saa7164-reg.h [media] saa7164: monitor the RISC cpu load via a thread 2010-10-21 07:55:14 -02:00
saa7164-types.h [media] saa7134: Fix lots os spaces at the wrong places 2010-10-21 07:55:27 -02:00
saa7164-vbi.c [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00
saa7164.h [media] saa7164: Checkpatch compliance cleanup 2010-12-29 08:16:39 -02:00