2022-02-25 02:13:08

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] mm/pagewalk: remove unneeded semicolon

Eliminate the following coccicheck warning:
./mm/pagewalk.c:459:35-36: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
mm/pagewalk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/pagewalk.c b/mm/pagewalk.c
index fdfea080c5ff..53e5c145fcce 100644
--- a/mm/pagewalk.c
+++ b/mm/pagewalk.c
@@ -456,7 +456,7 @@ int walk_page_range(struct mm_struct *mm, unsigned long start,
} else { /* inside vma */
walk.vma = vma;
next = min(end, vma->vm_end);
- vma = find_vma(mm, vma->vm_end);;
+ vma = find_vma(mm, vma->vm_end);

err = walk_page_test(start, next, &walk);
if (err > 0) {
--
2.20.1.7.g153144c