]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
powerpc/ps3: Remove unused struct table in setup_areas()
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 13 Jul 2026 09:17:33 +0000 (11:17 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Tue, 28 Jul 2026 04:53:31 +0000 (10:23 +0530)
The local table structure is not used - remove it.

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260713091731.97212-3-thorsten.blum@linux.dev
arch/powerpc/platforms/ps3/spu.c

index e4e0b45e1b9d0451a9a99be229425fbb06c30770..a71c0b0cfb0766a70396a78bd3ac036b0cb518b0 100644 (file)
@@ -191,8 +191,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));