summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVernon Yang <vernon2gm@gmail.com>2022-12-21 09:00:56 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-01-19 04:12:46 +0300
commiteabb305293835b191ffe60234587ae8bf5e4e9fd (patch)
tree8acad25239118080b670b916a58d3e6888b47dec /include
parent84fd3e1ee395649ac45b7317d44c10b33d0dca79 (diff)
downloadlinux-eabb305293835b191ffe60234587ae8bf5e4e9fd.tar.xz
maple_tree: remove the redundant code
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@gmail.com Signed-off-by: Vernon Yang <vernon2gm@gmail.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/maple_tree.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
index 4ee5a969441c..815a27661517 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,