diff mbox series

[v2] selftests/damon/access_memory_even: remove unused variables

Message ID 20240924021426.1980-1-bajing@cmss.chinamobile.com
State New
Headers show
Series [v2] selftests/damon/access_memory_even: remove unused variables | expand

Commit Message

Ba Jing Sept. 24, 2024, 2:14 a.m. UTC
By reading the code, I found these variables are never
referenced in the code. Just remove them.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
---
Notes:
v1: https://lore.kernel.org/all/20240903034300.10443-1-bajing@cmss.chinamobile.com/

v2: Modify the commit subject and commit log.

 tools/testing/selftests/damon/access_memory_even.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/tools/testing/selftests/damon/access_memory_even.c b/tools/testing/selftests/damon/access_memory_even.c
index 3be121487432..a9f4e9aaf3a9 100644
--- a/tools/testing/selftests/damon/access_memory_even.c
+++ b/tools/testing/selftests/damon/access_memory_even.c
@@ -14,10 +14,8 @@ 
 int main(int argc, char *argv[])
 {
 	char **regions;
-	clock_t start_clock;
 	int nr_regions;
 	int sz_region;
-	int access_time_ms;
 	int i;
 
 	if (argc != 3) {