powerpc/kernel: fix repeated words in comments

Message ID 20221022051247.64377-1-wangjianli@cdjrlc.com
State New
Headers
Series powerpc/kernel: fix repeated words in comments |

Commit Message

wangjianli Oct. 22, 2022, 5:12 a.m. UTC
  Delete the redundant word 'the'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 arch/powerpc/kernel/process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Christophe Leroy Nov. 3, 2022, 7:40 a.m. UTC | #1
Le 22/10/2022 à 07:12, wangjianli a écrit :
> Delete the redundant word 'the'.
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>   arch/powerpc/kernel/process.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
> index ee0433809621..ab786da8c30b 100644
> --- a/arch/powerpc/kernel/process.c
> +++ b/arch/powerpc/kernel/process.c
> @@ -173,7 +173,7 @@ void giveup_fpu(struct task_struct *tsk)
>   EXPORT_SYMBOL(giveup_fpu);
>   
>   /*
> - * Make sure the floating-point register state in the
> + * Make sure the floating-point register state in
>    * the thread_struct is up to date for task tsk.

I think all "the" can fly away :

	Make sure floating-point register state in thread_struct is up to date 
for task tsk.


>    */
>   void flush_fp_to_thread(struct task_struct *tsk)
  

Patch

diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index ee0433809621..ab786da8c30b 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -173,7 +173,7 @@  void giveup_fpu(struct task_struct *tsk)
 EXPORT_SYMBOL(giveup_fpu);
 
 /*
- * Make sure the floating-point register state in the
+ * Make sure the floating-point register state in
  * the thread_struct is up to date for task tsk.
  */
 void flush_fp_to_thread(struct task_struct *tsk)