summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/mm/mlock2-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/mm/mlock2-tests.c')
-rw-r--r--tools/testing/selftests/mm/mlock2-tests.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/mm/mlock2-tests.c b/tools/testing/selftests/mm/mlock2-tests.c
index 11b2301f3aa3..80cddc0de206 100644
--- a/tools/testing/selftests/mm/mlock2-tests.c
+++ b/tools/testing/selftests/mm/mlock2-tests.c
@@ -50,7 +50,6 @@ static int get_vm_area(unsigned long addr, struct vm_boundaries *area)
printf("cannot parse /proc/self/maps\n");
goto out;
}
- stop = '\0';
sscanf(line, "%lx", &start);
sscanf(end_addr, "%lx", &end);