diff mbox series

[-next] MIPS: Remove unused declarations in asm/cmp.h

Message ID 20240814104052.2055777-1-cuigaosheng1@huawei.com (mailing list archive)
State Accepted
Commit fdb31c54e896d9df8c96c2683af64aae92e9946e
Headers show
Series [-next] MIPS: Remove unused declarations in asm/cmp.h | expand

Commit Message

cuigaosheng Aug. 14, 2024, 10:40 a.m. UTC
These functions have been removed since
commit 7fb6f7b0af67 ("MIPS: Remove deprecated CONFIG_MIPS_CMP"),
so remove them.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/mips/include/asm/cmp.h | 8 --------
 1 file changed, 8 deletions(-)

Comments

Thomas Bogendoerfer Aug. 29, 2024, 8:47 a.m. UTC | #1
On Wed, Aug 14, 2024 at 06:40:52PM +0800, Gaosheng Cui wrote:
> These functions have been removed since
> commit 7fb6f7b0af67 ("MIPS: Remove deprecated CONFIG_MIPS_CMP"),
> so remove them.
> 
> Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
> ---
>  arch/mips/include/asm/cmp.h | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/arch/mips/include/asm/cmp.h b/arch/mips/include/asm/cmp.h
> index e9e87504bb0c..71e20e6cd38d 100644
> --- a/arch/mips/include/asm/cmp.h
> +++ b/arch/mips/include/asm/cmp.h
> @@ -7,12 +7,4 @@
>   */
>  struct task_struct;
>  
> -extern void cmp_smp_setup(void);
> -extern void cmp_smp_finish(void);
> -extern void cmp_boot_secondary(int cpu, struct task_struct *t);
> -extern void cmp_init_secondary(void);
> -extern void cmp_prepare_cpus(unsigned int max_cpus);
> -
> -/* This is platform specific */
> -extern void cmp_send_ipi(int cpu, unsigned int action);
>  #endif /*  _ASM_CMP_H */
> -- 
> 2.25.1

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/include/asm/cmp.h b/arch/mips/include/asm/cmp.h
index e9e87504bb0c..71e20e6cd38d 100644
--- a/arch/mips/include/asm/cmp.h
+++ b/arch/mips/include/asm/cmp.h
@@ -7,12 +7,4 @@ 
  */
 struct task_struct;
 
-extern void cmp_smp_setup(void);
-extern void cmp_smp_finish(void);
-extern void cmp_boot_secondary(int cpu, struct task_struct *t);
-extern void cmp_init_secondary(void);
-extern void cmp_prepare_cpus(unsigned int max_cpus);
-
-/* This is platform specific */
-extern void cmp_send_ipi(int cpu, unsigned int action);
 #endif /*  _ASM_CMP_H */