From: Markus Elfring Date: Tue, 3 Feb 2015 18:21:21 +0000 (+0100) Subject: cpufreq-dt: Drop unnecessary check before cpufreq_cooling_unregister() invocation X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~144^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17ad13ba842bd5c197e20c17e107788aa0498ba9;p=pandora-kernel.git cpufreq-dt: Drop unnecessary check before cpufreq_cooling_unregister() invocation The cpufreq_cooling_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 [ rjw: Subject ] Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed