Messages in this thread | | | Subject | Re: [Resend][PATCH] drivers/thermal: remove unnecessary structure members allocated_tzp | From | Daniel Lezcano <> | Date | Mon, 26 Oct 2020 19:48:52 +0100 |
| |
On 26/10/2020 02:50, Bernard wrote: > Struct power_allocator_params element allocated_tzp is only used > in unbind to kfree the kzalloc space. > Maybe we don’t have to need this member to mark, also, kfree will > handle NULL point, there is no risk. > This change is to make the code run a bit fast. > > Signed-off-by: Bernard Zhao <bernard@vivo.com>
Applied, thanks
[ ... ]
-- <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
| |