From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v2 2/3] of/fdt: Remove dead code and mark functions with __init Date: Fri, 24 May 2019 16:39:15 -0500 Message-ID: <20190524213915.GA11208@bogus> References: <20190514204053.124122-1-swboyd@chromium.org> <20190514204053.124122-3-swboyd@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190514204053.124122-3-swboyd@chromium.org> Sender: linux-kernel-owner@vger.kernel.org To: Stephen Boyd Cc: Frank Rowand , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Hsin-Yi Wang List-Id: devicetree@vger.kernel.org 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 > Signed-off-by: Stephen Boyd > --- > drivers/of/fdt.c | 37 +++++-------------------------------- > include/linux/of_fdt.h | 11 ----------- > 2 files changed, 5 insertions(+), 43 deletions(-) > Applied, thanks. Rob