[media] tuners: remove uneeded checks before release_firmware()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 30 Nov 2014 18:05:48 +0000 (15:05 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Dec 2014 17:28:51 +0000 (15:28 -0200)
commitdc89cfcf33bfd15ad335207062c1f87b6074f222
tree34c2d38cefba33b7c71be709cc0c31c4a10642f5
parent99d2fae9eb56a0cba060f28d8a8d154f755dedb2
[media] tuners: remove uneeded checks before release_firmware()

The release_firmware() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/si2157.c
drivers/media/tuners/xc5000.c