Skip to contentSkip to conversation

selftests-vm-write_to_hugetlbfsc-fix-unused-variable-warning.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 24, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: selftests/vm/write_to_hugetlbfs.c: fix unused variable warning
has been removed from the -mm tree. Its filename was
selftests-vm-write_to_hugetlbfsc-fix-unused-variable-warning.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: John Hubbard <[email protected]>
Subject: selftests/vm/write_to_hugetlbfs.c: fix unused variable warning

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

Fixes 29750f71a9b4 ("hugetlb_cgroup: add hugetlb_cgroup reservation tests")
Cc Brian Geffon <[email protected]>
Cc "Kirill A . Shutemov" <[email protected]>
Cc Shuah Khan <[email protected]>
Cc Ralph Campbell <[email protected]>

---

 tools/testing/selftests/vm/write_to_hugetlbfs.c |    2 --
 1 file changed, 2 deletions(-)
tools/testing/selftests/vm/write_to_hugetlbfs.c renamed from tools/testing/selftests/vm/write_to_hugetlbfs.c~selftests-vm-write_to_hugetlbfsc-fix-unused-variable-warning +0 -1
@@ -74,8 +74,6 @@ int main(int argc, char **argv)
 	int write = 0;
 	int reserve = 1;
 
-	unsigned long i;