ACPI: thermal: Drop some redundant code
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Oct 2022 16:32:52 +0000 (18:32 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 5 Oct 2022 15:51:52 +0000 (17:51 +0200)
commit36f554046bd6da91b7e71bddeb38952c6d92cd98
tree8b81a3768c74bdf490d711dea78e5835e7fde088
parent9e8bc16626a007108f2c3496cd48f0eda4d09045
ACPI: thermal: Drop some redundant code

Drop some redundant initialization of local variables, a redundant
return statement and a redundant "else" from the ACPI thermal driver.

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/acpi/thermal.c