linux-hardened/drivers/thermal/int340x_thermal
Markus Elfring 931b9c86d9 thermal: int3403: Delete a check before thermal_zone_device_unregister()
The thermal_zone_device_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: Zhang Rui <rui.zhang@intel.com>
2014-12-09 11:31:18 +08:00
..
acpi_thermal_rel.c Thermal: int340x_thermal: expose acpi thermal relationship tables 2014-10-11 09:35:48 +08:00
acpi_thermal_rel.h Thermal: int340x_thermal: expose acpi thermal relationship tables 2014-10-11 09:35:48 +08:00
int3400_thermal.c thermal/int3400: export uuids 2014-12-09 11:31:17 +08:00
int3402_thermal.c Thermal: introduce INT3402 thermal driver 2014-10-10 14:02:25 +08:00
int3403_thermal.c thermal: int3403: Delete a check before thermal_zone_device_unregister() 2014-12-09 11:31:18 +08:00
Makefile Thermal: int340x_thermal: expose acpi thermal relationship tables 2014-10-11 09:35:48 +08:00