On Fri, 21 Nov 2014, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Fri, 21 Nov 2014 11:06:33 +0100
>
> The functions cpufreq_cooling_unregister() and
> thermal_zone_device_unregister()
> test whether their argument is NULL and then return immediately.
> Thus the test around the call is
From: Markus Elfring
Date: Fri, 21 Nov 2014 11:06:33 +0100
The functions cpufreq_cooling_unregister() and thermal_zone_device_unregister()
test whether their argument is NULL and then return immediately.
Thus the test around the call is not needed.
This issue was detected by using the Coccinelle