From: Markus Elfring Date: Sun, 30 Nov 2014 21:50:20 +0000 (-0300) Subject: [media] ddbridge: remove unneeded check before dvb_unregister_device() X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddc0085e915f34fe56407dfc3ef2362f572d3a09;p=pandora-kernel.git [media] ddbridge: remove unneeded check before 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