From: Markus Elfring Date: Sun, 23 Nov 2014 14:15:29 +0000 (+0100) Subject: video: mx3fb: Deletion of an unnecessary check before the function call "backlight_de... X-Git-Tag: omap-for-v3.19/fixes-rc1~128^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a8e411dc0b57e7f930b554b3aa9309b60662db6;p=pandora-kernel.git video: mx3fb: Deletion of an unnecessary check before the function call "backlight_device_unregister" The backlight_device_unregister() 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: Tomi Valkeinen --- Reading git-diff-tree failed