Tag: 17ad13ba842bd5c197e20c17e107788aa0498ba9

cpufreq-dt: Drop unnecessary check before cpufreq_cooling_unregister() invocation

Author: Markus Elfring <elfring@users.sourceforge.net> 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 — drivers/cpufreq/cpufreq-dt.c | 3 +– 1 file changed, 1 …

Continue reading