diff mbox series

powerpc: remove dead code in head_fsl_booke.S

Message ID 20190228083121.30598-1-yanaijie@huawei.com (mailing list archive)
State Accepted
Commit e585f51c4ee00046175ace52ca87ea4726302688
Headers show
Series powerpc: remove dead code in head_fsl_booke.S | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success next/apply_patch Successfully applied
snowpatch_ozlabs/build-ppc64le warning build succeeded but added 103 new sparse warning(s)
snowpatch_ozlabs/build-ppc64be warning build succeeded but added 103 new sparse warning(s)
snowpatch_ozlabs/build-ppc64e warning build succeeded but added 1 new sparse warning(s)
snowpatch_ozlabs/build-pmac32 warning build succeeded but added 18 new sparse warning(s)
snowpatch_ozlabs/checkpatch success total: 0 errors, 0 warnings, 0 checks, 13 lines checked

Commit Message

Jason Yan Feb. 28, 2019, 8:31 a.m. UTC
This code is dead. Just remove it.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 arch/powerpc/kernel/head_fsl_booke.S | 7 -------
 1 file changed, 7 deletions(-)

Comments

Christophe Leroy Feb. 28, 2019, 1 p.m. UTC | #1
Le 28/02/2019 à 09:31, Jason Yan a écrit :
> This code is dead. Just remove it.
> 
> Signed-off-by: Jason Yan <yanaijie@huawei.com>

Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>

This review was easy :)

Christophe

> ---
>   arch/powerpc/kernel/head_fsl_booke.S | 7 -------
>   1 file changed, 7 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
> index 2386ce2a9c6e..b8450f017d85 100644
> --- a/arch/powerpc/kernel/head_fsl_booke.S
> +++ b/arch/powerpc/kernel/head_fsl_booke.S
> @@ -194,13 +194,6 @@ set_ivor:
>   #endif
>   	mtspr	SPRN_MAS4, r2
>   
> -#if 0
> -	/* Enable DOZE */
> -	mfspr	r2,SPRN_HID0
> -	oris	r2,r2,HID0_DOZE@h
> -	mtspr	SPRN_HID0, r2
> -#endif
> -
>   #if !defined(CONFIG_BDI_SWITCH)
>   	/*
>   	 * The Abatron BDI JTAG debugger does not tolerate others
>
Jason Yan March 4, 2019, 1:28 a.m. UTC | #2
On 2019/2/28 21:00, Christophe Leroy wrote:
> 
> 
> Le 28/02/2019 à 09:31, Jason Yan a écrit :
>> This code is dead. Just remove it.
>>
>> Signed-off-by: Jason Yan <yanaijie@huawei.com>
> 
> Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
> 
> This review was easy :)
> 
> Christophe
> 

Christophe, thanks.


>> ---
>>   arch/powerpc/kernel/head_fsl_booke.S | 7 -------
>>   1 file changed, 7 deletions(-)
>>
>> diff --git a/arch/powerpc/kernel/head_fsl_booke.S 
>> b/arch/powerpc/kernel/head_fsl_booke.S
>> index 2386ce2a9c6e..b8450f017d85 100644
>> --- a/arch/powerpc/kernel/head_fsl_booke.S
>> +++ b/arch/powerpc/kernel/head_fsl_booke.S
>> @@ -194,13 +194,6 @@ set_ivor:
>>   #endif
>>       mtspr    SPRN_MAS4, r2
>> -#if 0
>> -    /* Enable DOZE */
>> -    mfspr    r2,SPRN_HID0
>> -    oris    r2,r2,HID0_DOZE@h
>> -    mtspr    SPRN_HID0, r2
>> -#endif
>> -
>>   #if !defined(CONFIG_BDI_SWITCH)
>>       /*
>>        * The Abatron BDI JTAG debugger does not tolerate others
>>
> 
> .
>
diff mbox series

Patch

diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
index 2386ce2a9c6e..b8450f017d85 100644
--- a/arch/powerpc/kernel/head_fsl_booke.S
+++ b/arch/powerpc/kernel/head_fsl_booke.S
@@ -194,13 +194,6 @@  set_ivor:
 #endif
 	mtspr	SPRN_MAS4, r2
 
-#if 0
-	/* Enable DOZE */
-	mfspr	r2,SPRN_HID0
-	oris	r2,r2,HID0_DOZE@h
-	mtspr	SPRN_HID0, r2
-#endif
-
 #if !defined(CONFIG_BDI_SWITCH)
 	/*
 	 * The Abatron BDI JTAG debugger does not tolerate others