[PATCH] ARM: mm: fix repeated words in comments

From: Jilin Yuan
Date: Wed Aug 31 2022 - 02:27:39 EST


Delete the redundant word 'there'.
Delete the redundant word 'as'.

Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>
---
arch/arm/mm/cache-b15-rac.c | 2 +-
arch/arm/mm/mmu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mm/cache-b15-rac.c b/arch/arm/mm/cache-b15-rac.c
index 9c1172f26885..b7cb31bda8ab 100644
--- a/arch/arm/mm/cache-b15-rac.c
+++ b/arch/arm/mm/cache-b15-rac.c
@@ -203,7 +203,7 @@ static struct notifier_block b15_rac_reboot_nb = {
* set RAC_ENABLED
* However, there is no hotplug activity based on the Linux booting procedure.
*
- * Since we have to disable RAC for all cores, we keep RAC on as long as as
+ * Since we have to disable RAC for all cores, we keep RAC on as long as
* possible (disable it as late as possible) to gain the cache benefit.
*
* Thus, dying/dead states are chosen here
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index a49f0b9c0f75..1207d431e1b4 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -1301,7 +1301,7 @@ static __init void prepare_page_table(void)
/*
* Skip over the KASan shadow area. KASAN_SHADOW_END is sometimes
* equal to MODULES_VADDR and then we exit the pmd clearing. If we
- * are using a thumb-compiled kernel, there there will be 8MB more
+ * are using a thumb-compiled kernel, there will be 8MB more
* to clear as KASan always offset to 16 MB below MODULES_VADDR.
*/
for (addr = KASAN_SHADOW_END; addr < MODULES_VADDR; addr += PMD_SIZE)
--
2.36.1