Re: [PATCH] xtensa: fix repeated words in comments

From: Max Filippov
Date: Wed Aug 31 2022 - 02:49:46 EST


On Tue, Aug 30, 2022 at 11:40 PM Jilin Yuan <yuanjilin@xxxxxxxxxx> wrote:
>
> Delete the redundant word 'that'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>
> ---
> arch/xtensa/kernel/traps.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/xtensa/kernel/traps.c b/arch/xtensa/kernel/traps.c
> index 0c25e035ff10..998299debbf5 100644
> --- a/arch/xtensa/kernel/traps.c
> +++ b/arch/xtensa/kernel/traps.c
> @@ -322,7 +322,7 @@ static void do_illegal_instruction(struct pt_regs *regs)
> * When call0 application encounters an illegal instruction fast
> * exception handler will attempt to set PS.WOE and retry failing
> * instruction.
> - * If we get here we know that that instruction is also illegal
> + * If we get here we know that instruction is also illegal

I'd say that the sentence is correct.
It says that (we know that) (that instruction is also illegal).

--
Thanks.
-- Max