[media] DVB: Less function calls in dvb_ca_en50221_init() after error detection
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 3 Feb 2015 15:47:48 +0000 (12:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 8 Apr 2015 10:42:01 +0000 (07:42 -0300)
commita2bbf5d05918a3156e9854a7144a8b2806badb53
tree65e0b5a38df1783e85cba3ffffa8c26833b3fadc
parent07d0e554b5d10522b4cd6448108c0ad16403fea6
[media] DVB: Less function calls in dvb_ca_en50221_init() after error detection

The functions "dvb_unregister_device" and "kfree" could still be called
by the dvb_ca_en50221_init() function in the case that a previous resource
allocation failed.

* Corresponding details could be improved by adjustments for jump targets.

* Let us delete also an unnecessary check for the variable "ca" there.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-core/dvb_ca_en50221.c
This page took 0.025167 seconds and 5 git commands to generate.