]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests/damon/access_memory_even: remove unused variables
authorBa Jing <bajing@cmss.chinamobile.com>
Tue, 24 Sep 2024 02:14:26 +0000 (10:14 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 00:56:30 +0000 (16:56 -0800)
By reading the code, I found these variables are never referenced in the
code.  Just remove them.

Link: https://lkml.kernel.org/r/20240924021426.1980-1-bajing@cmss.chinamobile.com
Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/damon/access_memory_even.c

index 3be1214874325d66f3e7bdf8b39d9f60c6a16e11..a9f4e9aaf3a930b2502eff1d8124f2225ecf5a1d 100644 (file)
 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) {