Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <elfring@users.sourceforge.net> [ rjw: Subject ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
- Loading branch information