From: Markus Elfring Date: Tue, 3 Feb 2015 15:01:40 +0000 (-0300) Subject: [media] DVB: Delete an unnecessary check before the function call "dvb_unregister_device" X-Git-Tag: omap-for-v4.1/fixes-rc1~72^2~1^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d0e554b5d10522b4cd6448108c0ad16403fea6;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed