[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZW0_tdUaoykjE9TkeQ2e-+CfmOVEHmKLuoqyf1AzL1nQ@mail.gmail.com>
Date: Sun, 19 Mar 2023 22:17:50 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Tom Rix <trix@...hat.com>
Cc: robert.jarzmik@...e.fr, brgl@...ev.pl, nathan@...nel.org,
ndesaulniers@...gle.com, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH] gpio: pxa: remove unused gpio_is_pxa_type function
On Sun, Mar 19, 2023 at 3:36 PM Tom Rix <trix@...hat.com> wrote:
> clang with W=1 reports
> drivers/gpio/gpio-pxa.c:174:19: error: unused function
> 'gpio_is_pxa_type' [-Werror,-Wunused-function]
> static inline int gpio_is_pxa_type(int type)
> ^
> This function is not used, so remove it.
>
> Signed-off-by: Tom Rix <trix@...hat.com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists