Re: [PATCH v3 1/1] MIPS: Alchemy: Remove unused forward declaration

Bartosz Golaszewski <[email protected]> Wed, 15 Jul 2026 08:08:00 -0700
Newsgroups org.kernel.vger.linux-mips,org.kernel.vger.linux-kernel
Message-ID <CAMRc=Mf_WVU__qRuv5zBpTcrZDewfVCUN0aXLOft5csv7OWRnw@mail.gmail.com>
On Wed, 15 Jul 2026 17:03:48 +0200, Andy Shevchenko
<[email protected]> said:
> The 'struct gpio' is not used in the code, remove unneeded forward declaration.
> This seems to be a leftover for a 5 years.
>
> Acked-by: Thomas Bogendoerfer <[email protected]>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
>
> Cc: Bartosz Golaszewski <[email protected]>
>
> This patch is floating around for more than a year without anybody
> taking it! Please, please, do something about this. Since it has
> an ack by MIPS maintainer, Bart, can you just pick this up?
>
>  arch/mips/include/asm/mach-au1x00/gpio-au1300.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/mips/include/asm/mach-au1x00/gpio-au1300.h b/arch/mips/include/asm/mach-au1x00/gpio-au1300.h
> index 912534ecb1a4..c92d3c2a5ef8 100644
> --- a/arch/mips/include/asm/mach-au1x00/gpio-au1300.h
> +++ b/arch/mips/include/asm/mach-au1x00/gpio-au1300.h
> @@ -12,7 +12,6 @@
>  #include <asm/io.h>
>  #include <asm/mach-au1x00/au1000.h>
>
> -struct gpio;
>  struct gpio_chip;
>  struct software_node;
>
> --
> 2.50.1
>
>

Reviewed-by: Bartosz Golaszewski <[email protected]>