]> git.baikalelectronics.ru Git - kernel.git/commit
[media] DVB-frontends: Deletion of unnecessary checks before the function call "relea...
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 19 Nov 2014 21:27:24 +0000 (18:27 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 25 Nov 2014 11:52:44 +0000 (09:52 -0200)
commit3cf4c9f7f526c2ff830ab0c339bff3835f72d727
treec1633fec0d4b10f6f2efd5656a07d71bebfba8a6
parentdffe6d1b29cb0345a62d15511bf66a534b93dbfd
[media] DVB-frontends: Deletion of unnecessary checks before the function call "release_firmware"

GIT_AUTHOR_DATE=1416472432
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/dvb-frontends/drx39xyj/drxj.c
drivers/media/dvb-frontends/drxk_hard.c
drivers/media/dvb-frontends/m88ds3103.c
drivers/media/dvb-frontends/si2168.c