Re: [PATCH v2] powerpc/ps3: Remove unused struct table in setup_areas()

"Christophe Leroy (CS GROUP)" <[email protected]>
Newsgroups org.ozlabs.lists.linuxppc-dev,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

Le 13/07/2026 à 11:17, Thorsten Blum a écrit :
> The local table structure is not used - remove it.
> 
> Reviewed-by: Geert Uytterhoeven <[email protected]>
> Signed-off-by: Thorsten Blum <[email protected]>

Reviewed-by: Christophe Leroy (CS GROUP) <[email protected]>

> ---
> Changes in v2:
> - Drop the %0 change because it is valid kernel-doc markup (Amit)
> - v1: https://lore.kernel.org/r/[email protected]/
> ---
>   arch/powerpc/platforms/ps3/spu.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/arch/powerpc/platforms/ps3/spu.c b/arch/powerpc/platforms/ps3/spu.c
> index e817def7f424..2c785bc72565 100644
> --- a/arch/powerpc/platforms/ps3/spu.c
> +++ b/arch/powerpc/platforms/ps3/spu.c
> @@ -190,8 +190,6 @@ static void spu_unmap(struct spu *spu)
>   
>   static int __init setup_areas(struct spu *spu)
>   {
> -	struct table {char* name; unsigned long addr; unsigned long size;};
> -
>   	spu_pdata(spu)->shadow = ioremap_prot(spu_pdata(spu)->shadow_addr,
>   					      sizeof(struct spe_shadow),
>   					      pgprot_noncached_wc(PAGE_KERNEL_RO));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.