[media] DVB: Delete an unnecessary check before the function call "dvb_unregister_device"
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 3 Feb 2015 15:01:40 +0000 (12:01 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 8 Apr 2015 10:40:53 +0000 (07:40 -0300)
commit07d0e554b5d10522b4cd6448108c0ad16403fea6
treeb42426e7f5cd7f5ed39674743f812fdf8413a11d
parente68c2fe64c52c33e55f2d259d41a956a9e1f2a83
[media] DVB: Delete an unnecessary check before the function call "dvb_unregister_device"

The dvb_unregister_device() 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-core/dvb_ca_en50221.c