]> git.baikalelectronics.ru Git - kernel.git/commit
[media] si2157: One function call less in si2157_init() after error
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 30 Nov 2014 19:48:24 +0000 (16:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Dec 2014 17:28:51 +0000 (15:28 -0200)
commitff78a7cb857f83d4eeaf0839f0cf8e3908b2cf3f
tree7d2ff9bc631e1108a2cd30d5aedbf560e1bac975
parentb3ada04ea29d790df7241e93c1567ed6b983b73e
[media] si2157: One function call less in si2157_init() after error

The release_firmware() function was called in some cases by the si2157_init()
function during error handling even if the passed variable contained still
a null pointer. This implementation detail could be improved
by the introduction of another jump label.

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