summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/mm/split_huge_page_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/mm/split_huge_page_test.c')
-rw-r--r--tools/testing/selftests/mm/split_huge_page_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/mm/split_huge_page_test.c b/tools/testing/selftests/mm/split_huge_page_test.c
index 6c988bd2f335..d3c7f5fb3e7b 100644
--- a/tools/testing/selftests/mm/split_huge_page_test.c
+++ b/tools/testing/selftests/mm/split_huge_page_test.c
@@ -300,7 +300,7 @@ int create_pagecache_thp_and_fd(const char *testfile, size_t fd_size, int *fd,
char **addr)
{
size_t i;
- int dummy;
+ int __attribute__((unused)) dummy = 0;
srand(time(NULL));