linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] maple_tree: Drop typedef from header
@ 2022-07-19 17:10 Liam Howlett
  0 siblings, 0 replies; only message in thread
From: Liam Howlett @ 2022-07-19 17:10 UTC (permalink / raw)
  To: maple-tree, linux-mm, linux-kernel, Andrew Morton, Yu Zhao,
	Hugh Dickins, Li Hongyu, Matthew Wilcox

These typedefs are not used and cause issues with rust in the kernel.

Fixes: fb7297e8a66b (Maple Tree: add new data structure)
Reported-by: Li Hongyu <lihongyu1999@bupt.edu.cn>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
---
 include/linux/maple_tree.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
index 258ca222e145..bdb891b0d2b5 100644
--- a/include/linux/maple_tree.h
+++ b/include/linux/maple_tree.h
@@ -72,8 +72,6 @@
  *   0x010 : 32 bit values, type in 0-2, slot in 3-6
  *   0x110 : 64 bit values, type in 0-2, slot in 3-6
  */
-typedef struct maple_enode *maple_enode; /* encoded node */
-typedef struct maple_pnode *maple_pnode; /* parent node */
 
 /*
  * This metadata is used to optimize the gap updating code and in reverse
-- 
2.35.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-19 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 17:10 [PATCH] maple_tree: Drop typedef from header Liam Howlett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).