ACPI: thermal: Get rid of a dummy local variable
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Aug 2025 11:02:01 +0000 (13:02 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Sep 2025 18:22:33 +0000 (20:22 +0200)
commit3f6b537a13c815f4c93dcc5a0d1c48a8f5619dc0
tree3b6fce59ac87f1f476842946355834d22b094930
parentb320789d6883cc00ac78ce83bccbfe7ed58afcf0
ACPI: thermal: Get rid of a dummy local variable

The second argument of acpi_bus_update_power() can be NULL, so drop the
power_state dummy local variable in acpi_thermal_resume() used just for
avoiding passing NULL as the second argument to that function.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/13851842.uLZWGnKmhe@rafael.j.wysocki
drivers/acpi/thermal.c