[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230330123500.GG434339@google.com>
Date: Thu, 30 Mar 2023 13:35:00 +0100
From: Lee Jones <lee@...nel.org>
To: Tom Rix <trix@...hat.com>
Cc: tony@...mide.com, nathan@...nel.org, ndesaulniers@...gle.com,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] mfd: twl-core: remove unused add_child and
add_numbered_child functions
On Wed, 22 Mar 2023, Tom Rix wrote:
> clang with W=1 reports
> drivers/mfd/twl-core.c:654:30: error: unused function 'add_child' [-Werror,-Wunused-function]
> static inline struct device *add_child(unsigned mod_no, const char *name,
> ^
> add_numbered_child and its only caller add_child are not used, so remove them.
>
> Signed-off-by: Tom Rix <trix@...hat.com>
> ---
> drivers/mfd/twl-core.c | 65 ------------------------------------------
> 1 file changed, 65 deletions(-)
I chopped around the commit message a bit and:
Applied, thanks
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists