Re: [PATCH v2 2/3] of/fdt: Remove dead code and mark functions with __init

From: Rob Herring
Date: Fri May 24 2019 - 17:42:21 EST


On Tue, 14 May 2019 13:40:52 -0700, Stephen Boyd wrote:
> Some functions in here are never called, and others are only called
> during __init. Remove the dead code and some dead exports for functions
> that don't exist (I'm looking at you of_fdt_get_string!). Mark some
> functions with __init so we can throw them away after we boot up and
> poke at the FDT blob too.
>
> Cc: Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
> ---
> drivers/of/fdt.c | 37 +++++--------------------------------
> include/linux/of_fdt.h | 11 -----------
> 2 files changed, 5 insertions(+), 43 deletions(-)
>

Applied, thanks.

Rob