]> git.ipfire.org Git - thirdparty/linux.git/commit
thermal: core: remove unnecessary check in trip_point_hyst_store()
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 6 Mar 2024 05:31:12 +0000 (08:31 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 6 Mar 2024 12:26:25 +0000 (13:26 +0100)
commit59d894a078cbed0335bb280dca411c91f686a9fd
tree99930df1f2c777f346a1602dc412b5f243ffc9fd
parent32abd250879a272fd96da48db59fde5ef71946cf
thermal: core: remove unnecessary check in trip_point_hyst_store()

This code was shuffled around a bit recently.  We no longer need to
check the value of "ret" because we know it's zero.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/thermal_sysfs.c