Skip to contentSkip to conversation

userfaultfd-drop-dead-code.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 7, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: fs/userfaultfd.c: drop dead code
has been removed from the -mm tree. Its filename was
userfaultfd-drop-dead-code.patch

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

------------------------------------------------------
From: "Mike Rapoport" <[email protected]>
Subject: fs/userfaultfd.c: drop dead code

Calculation of start end end in __wake_userfault function are not used and can be removed.

---

 fs/userfaultfd.c |    5 -----
 1 file changed, 5 deletions(-)
fs/userfaultfd.c renamed from fs/userfaultfd.c~userfaultfd-drop-dead-code +0 -4
diff -puN fs/userfaultfd.c~userfaultfd-drop-dead-code fs/userfaultfd.c
@@ -1114,11 +1114,6 @@ static ssize_t userfaultfd_read(struct f
 static void __wake_userfault(struct userfaultfd_ctx *ctx,
 			     struct userfaultfd_wake_range *range)
 {
-	unsigned long start, end;
-
-	start = range->start;
-	end = range->start + range->len;