mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
maple_tree: use maple state end for write operations
ma_wr_state was previously tracking the end of the node for writing. Since the implementation of the ma_state end tracking, this is duplicated work. This patch removes the maple write state tracking of the end of the node and uses the maple state end instead. Link: https://lkml.kernel.org/r/20231101171629.3612299-11-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Peng Zhang <zhangpeng.00@bytedance.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
9a40d45c1f
commit
0de56e38b3
@@ -441,7 +441,6 @@ struct ma_wr_state {
|
||||
unsigned long r_max; /* range max */
|
||||
enum maple_type type; /* mas->node type */
|
||||
unsigned char offset_end; /* The offset where the write ends */
|
||||
unsigned char node_end; /* mas->node end */
|
||||
unsigned long *pivots; /* mas->node->pivots pointer */
|
||||
unsigned long end_piv; /* The pivot at the offset end */
|
||||
void __rcu **slots; /* mas->node->slots pointer */
|
||||
|
||||
Reference in New Issue
Block a user