Commit 380e5c1d authored by John Hubbard's avatar John Hubbard Committed by Linus Torvalds

selftests/vm/write_to_hugetlbfs.c: fix unused variable warning

Remove unused variable "i", which was triggering a compiler warning.

Fixes: 29750f71 ("hugetlb_cgroup: add hugetlb_cgroup reservation tests")
Signed-off-by: default avatarJohn Hubbard <>
Signed-off-by: default avatarAndrew Morton <>
Reviewed-By: default avatarMina Almasry <>
Cc: Brian Geffon <>
Cc: "Kirill A . Shutemov" <>
Cc: Shuah Khan <>
Cc: Ralph Campbell <>
Link: default avatarLinus Torvalds <>
parent 98097701
......@@ -74,8 +74,6 @@ int main(int argc, char **argv)
int write = 0;
int reserve = 1;
unsigned long i;
if (signal(SIGINT, sig_handler) == SIG_ERR)
err(1, "\ncan't catch SIGINT\n");
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment