This is a note to let you know that I've just added the patch titled maple_tree: remove the redundant code to the 6.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: maple_tree-remove-the-redundant-code.patch and it can be found in the queue-6.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit 8115a697c47c8d0d1e35d67364eb7fb1b5fcf922 Author: Vernon Yang <vernon2gm@xxxxxxxxx> Date: Wed Dec 21 14:00:56 2022 +0800 maple_tree: remove the redundant code [ Upstream commit eabb305293835b191ffe60234587ae8bf5e4e9fd ] The macros CONFIG_DEBUG_MAPLE_TREE_VERBOSE no one uses, functions mas_dup_tree() and mas_dup_store() are not implemented, just function declaration, so drop it. Link: https://lkml.kernel.org/r/20221221060058.609003-6-vernon2gm@xxxxxxxxx Signed-off-by: Vernon Yang <vernon2gm@xxxxxxxxx> Reviewed-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Stable-dep-of: 5c590804b6b0 ("maple_tree: add mas_is_active() to detect in-tree walks") Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index e594db58a0f14..1a424edb71a65 100644 --- a/include/linux/maple_tree.h +++ b/include/linux/maple_tree.h @@ -12,7 +12,6 @@ #include <linux/rcupdate.h> #include <linux/spinlock.h> /* #define CONFIG_MAPLE_RCU_DISABLED */ -/* #define CONFIG_DEBUG_MAPLE_TREE_VERBOSE */ /* * Allocated nodes are mutable until they have been inserted into the tree, @@ -483,9 +482,6 @@ static inline bool mas_is_paused(struct ma_state *mas) return mas->node == MAS_PAUSE; } -void mas_dup_tree(struct ma_state *oldmas, struct ma_state *mas); -void mas_dup_store(struct ma_state *mas, void *entry); - /* * This finds an empty area from the highest address to the lowest. * AKA "Topdown" version,