Skip to content
Commit 9030062f authored by Julia Lawall's avatar Julia Lawall Committed by Len Brown
Browse files

ACPI: elide a non-zero test on a result that is never 0



thermal_cooling_device_register used to return NULL if THERMAL is "n".
As the ACPI fan, processor and video drivers SELECT the generic
thermal in PATCH 01, this is not a problem any more.

Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent e9ae7107
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment