]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/spufs: remove orphan declarations from spufs.h
authorGaosheng Cui <cuigaosheng1@huawei.com>
Tue, 13 Sep 2022 07:50:22 +0000 (15:50 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Sep 2022 12:55:45 +0000 (22:55 +1000)
Remove the following orphan declarations from spufs.h:
1. spufs_coredump_calls has been removed since
commit e5fd965f03de ("[POWERPC] spufs: Combine
spufs_coredump_calls with spufs_calls").

2. spufs_coredump_num_notes has been removed since
commit ca7070f37fe3 ("[POWERPC] spufs: Get rid of spufs_coredump_num_notes,
it's not needed if we NULL terminate").

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220913075029.682327-3-cuigaosheng1@huawei.com
arch/powerpc/platforms/cell/spufs/spufs.h

index 23c6799cfa5a0eb0da96629384f395957af68cef..403c4aa3f6cd3c1c5f0a2041a0ffc97b1839e46a 100644 (file)
@@ -333,7 +333,6 @@ void spufs_stop_callback(struct spu *spu, int irq);
 void spufs_mfc_callback(struct spu *spu);
 void spufs_dma_callback(struct spu *spu, int type);
 
-extern struct spu_coredump_calls spufs_coredump_calls;
 struct spufs_coredump_reader {
        char *name;
        ssize_t (*dump)(struct spu_context *ctx, struct coredump_params *cprm);
@@ -341,7 +340,6 @@ struct spufs_coredump_reader {
        size_t size;
 };
 extern const struct spufs_coredump_reader spufs_coredump_read[];
-extern int spufs_coredump_num_notes;
 
 extern int spu_init_csa(struct spu_state *csa);
 extern void spu_fini_csa(struct spu_state *csa);