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> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> |
||
|---|---|---|
| .. | ||
| dra752-bandgap.h | ||
| dra752-thermal-data.c | ||
| Kconfig | ||
| Makefile | ||
| omap4-thermal-data.c | ||
| omap4xxx-bandgap.h | ||
| omap5-thermal-data.c | ||
| omap5xxx-bandgap.h | ||
| ti-bandgap.c | ||
| ti-bandgap.h | ||
| ti-thermal-common.c | ||
| ti-thermal.h | ||
| TODO | ||