From: Markus Elfring Date: Mon, 2 Feb 2015 12:20:23 +0000 (-0300) Subject: [media] staging: bcm2048: Delete an unnecessary check before the function call "video... X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~131^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1408379ba9d87d66691835c7cdc2645793e311a;p=pandora-kernel.git [media] staging: bcm2048: Delete an unnecessary check before the function call "video_unregister_device" The video_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: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed