Messages in this thread | | | Date | Tue, 31 Jan 2023 16:38:41 +0100 | Subject | Re: [PATCH v2 3/4] thermal: intel: int340x: Drop pointless cast to unsigned long | From | Daniel Lezcano <> |
| |
On 30/01/2023 19:45, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > The explicit casting from int to unsigned long in > int340x_thermal_get_zone_temp() is pointless, becuase the multiplication > result is cast back to int by the assignment in the same statement, so > drop it. > > No expected functional impact. > > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > ---
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
| |