diff mbox series

[3/5] ARM: actions: Drop unused function

Message ID 20181211080759.3150-3-linus.walleij@linaro.org (mailing list archive)
State New, archived
Headers show
Series [1/5] ARM: actions: Put OF nodes after use | expand

Commit Message

Linus Walleij Dec. 11, 2018, 8:07 a.m. UTC
The owl_secondary_startup() prototype isn't used anywhere
and seems to be some development artifact.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/mach-actions/platsmp.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Andreas Färber Dec. 18, 2018, 7:30 p.m. UTC | #1
Hi,

+ linux-actions

Am 11.12.18 um 09:07 schrieb Linus Walleij:
> The owl_secondary_startup() prototype isn't used anywhere
> and seems to be some development artifact.
> 

No, it's a leftover from a previous cleanup:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=6c2eb3e76fb84e2eb46d484f71fab469c0d9532c

Fixes: 6c2eb3e76fb8 ("ARM: owl: smp: Drop owl_secondary_boot()")

Also note that all previous patches in there had "ARM: owl:", so let's
stick with that for consistency, just like we stick with ARM despite the
corporate rebranding to arm. I can fix the text up.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/arch/arm/mach-actions

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  arch/arm/mach-actions/platsmp.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm/mach-actions/platsmp.c b/arch/arm/mach-actions/platsmp.c
> index 98fbcaa764a5..b66a768afedd 100644
> --- a/arch/arm/mach-actions/platsmp.c
> +++ b/arch/arm/mach-actions/platsmp.c
> @@ -38,8 +38,6 @@ static void __iomem *sps_base_addr;
>  static void __iomem *timer_base_addr;
>  static DEFINE_SPINLOCK(boot_lock);
>  
> -void owl_secondary_startup(void);
> -
>  static int s500_wakeup_secondary(unsigned int cpu)
>  {
>  	int ret;

Thanks,
Andreas
diff mbox series

Patch

diff --git a/arch/arm/mach-actions/platsmp.c b/arch/arm/mach-actions/platsmp.c
index 98fbcaa764a5..b66a768afedd 100644
--- a/arch/arm/mach-actions/platsmp.c
+++ b/arch/arm/mach-actions/platsmp.c
@@ -38,8 +38,6 @@  static void __iomem *sps_base_addr;
 static void __iomem *timer_base_addr;
 static DEFINE_SPINLOCK(boot_lock);
 
-void owl_secondary_startup(void);
-
 static int s500_wakeup_secondary(unsigned int cpu)
 {
 	int ret;