[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0b880889-f64f-42b5-a6f9-0b98e95c3b72@linaro.org>
Date: Tue, 23 Jan 2024 16:18:31 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Santosh Shilimkar <ssantosh@...nel.org>
Cc: kernel@...gutronix.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] memory: emif: Simplify code handling CONFIG_OF
On 17/12/2023 20:31, Uwe Kleine-König wrote:
> The first thing that of_get_memory_device_details() does is calling
> of_parse_phandle(). With CONFIG_OF=n this returns NULL in a static
> inline function. So the compiler can determine that
> of_get_memory_device_details() also returns NULL. bloat-o-meter confirms
> that this patch has no effects on the size of the generated code for
> CONFIG_OF=n builds.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
> ---
> drivers/memory/emif.c | 10 ----------
> 1 file changed, 10 deletions(-)
Applied.
Best regards,
Krzysztof
Powered by blists - more mailing lists