]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] mn88472: One function call less in mn88472_init() after error detection
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 1 Feb 2015 18:34:37 +0000 (15:34 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 1 Apr 2015 09:22:27 +0000 (06:22 -0300)
commitbf104c238dc1c7172460853882a545141eaa8222
treebf2f1d7cd0e6dd3360ac34e42427a859f4933d06
parent68feaa6b8bc537de1d02732fb1b74fe5433ceff1
[media] mn88472: One function call less in mn88472_init() after error detection

The release_firmware() function was called in three cases by the mn88472_init()
function during error handling even if the passed variable "fw" 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/staging/media/mn88472/mn88472.c