Skip to contentSkip to conversation

maple_tree-remove-extra-return-statement.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jan 19, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: maple_tree: remove extra return statement
has been removed from the -mm tree. Its filename was
maple_tree-remove-extra-return-statement.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Vernon Yang <[email protected]>
Subject: maple_tree: remove extra return statement
Date: Wed, 21 Dec 2022 14:00:53 +0800

For functions with a return type of void, it is unnecessary to add a reurn statement at the end of the function, so drop it.

---

 lib/maple_tree.c |    3 ---
 1 file changed, 3 deletions(-)
lib/maple_tree.c renamed from lib/maple_tree.c~maple_tree-remove-extra-return-statement +0 -3
@@ -1276,7 +1276,6 @@ nomem_one:
 	if (mas->alloc && !(((unsigned long)mas->alloc & 0x1)))
 		mas->alloc->total = success;
 	mas_set_err(mas, -ENOMEM);
-	return;
 }
 
 /*
@@ -4712,8 +4711,6 @@ retry:
 	mas_state_walk(mas);
 	if (mas_is_start(mas))
 		goto retry;
-
-	return;
 }
 
 /*

_

Patches currently in -mm which might be from [email protected] are

maple_tree-remove-the-parameter-entry-of-mas_preallocate.patch mm-mmap-fix-typo-in-comment.patch maple_tree-fix-comment-of-mte_destroy_walk.patch mm-mmap-fix-comment-of-unmapped_area_topdown.patch