[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0d4e0753-c565-3ba5-852a-32156a0ca067@linaro.org>
Date: Mon, 26 Oct 2020 19:48:52 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Bernard <bernard@...o.com>, Lukasz Luba <lukasz.luba@....com>,
Zhang Rui <rui.zhang@...el.com>,
Amit Kucheria <amitk@...nel.org>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: opensource.kernel@...o.com
Subject: Re: [Resend][PATCH] drivers/thermal: remove unnecessary structure
members allocated_tzp
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@...o.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
Powered by blists - more mailing lists