From: Markus Elfring Date: Wed, 19 Nov 2014 16:05:20 +0000 (+0100) Subject: drm/tilcdc: Deletion of an unnecessary check before the function call "drm_fbdev_cma_... X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c08448173545428ed9761308fbaf90f8be7498c5;p=pandora-kernel.git drm/tilcdc: Deletion of an unnecessary check before the function call "drm_fbdev_cma_hotplug_event" The drm_fbdev_cma_hotplug_event() 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 Reviewed-by: Thierry Reding Signed-off-by: Dave Airlie --- Reading git-diff-tree failed