linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] maple_tree: remove maple_big_node.parent
@ 2024-09-07  8:49 Wei Yang
  2024-09-07  8:49 ` [PATCH 2/2] maple_tree: memset maple_big_node as a whole Wei Yang
  0 siblings, 1 reply; 4+ messages in thread
From: Wei Yang @ 2024-09-07  8:49 UTC (permalink / raw)
  To: Liam.Howlett, akpm; +Cc: maple-tree, linux-mm, Wei Yang, Liam R . Howlett

The member parent of maple_big_node is never used.

Let's remove it.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
CC: Liam R. Howlett <Liam.Howlett@Oracle.com>
---
 lib/maple_tree.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 994dd4c8c051..d8f10773e451 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -120,7 +120,6 @@ static const unsigned char mt_min_slots[] = {
 #define MAPLE_BIG_NODE_GAPS	(MAPLE_ARANGE64_SLOTS * 2 + 1)
 
 struct maple_big_node {
-	struct maple_pnode *parent;
 	unsigned long pivot[MAPLE_BIG_NODE_SLOTS - 1];
 	union {
 		struct maple_enode *slot[MAPLE_BIG_NODE_SLOTS];
-- 
2.34.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-08  9:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-07  8:49 [PATCH 1/2] maple_tree: remove maple_big_node.parent Wei Yang
2024-09-07  8:49 ` [PATCH 2/2] maple_tree: memset maple_big_node as a whole Wei Yang
2024-09-07 13:29   ` Liam R. Howlett
2024-09-08  9:34     ` Wei Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox