[PATCH 4/9] arm64: Remove unused variable in head.S

Will Deacon will.deacon at arm.com
Wed Aug 27 01:40:58 PDT 2014


On Fri, Aug 22, 2014 at 08:49:16PM +0100, Geoff Levand wrote:
> Remove an unused local variable from head.S.  It seems this was never
> used even from the initial commit
> 9703d9d7f77ce129621f7d80a844822e2daa7008 (arm64: Kernel booting and
> initialisation), and is a left over from a previous implementation
> of __calc_phys_offset.
> 
> Signed-off-by: Geoff Levand <geoff at infradead.org>
> ---
>  arch/arm64/kernel/head.S | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S
> index 4019b85..607d4bb 100644
> --- a/arch/arm64/kernel/head.S
> +++ b/arch/arm64/kernel/head.S
> @@ -377,10 +377,6 @@ ENTRY(__boot_cpu_mode)
>  	.long	0
>  	.popsection
>  
> -	.align	3
> -2:	.quad	.
> -	.quad	PAGE_OFFSET
> -
>  #ifdef CONFIG_SMP
>  	.align	3
>  1:	.quad	.

Thanks, I'll take this one into the arm64 tree.

Will



More information about the linux-arm-kernel mailing list