mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
maple_tree: remove the parameter entry of mas_preallocate
The parameter entry of mas_preallocate is not used, so drop it. Link: https://lkml.kernel.org/r/20230110154211.1758562-1-vernon2gm@gmail.com Signed-off-by: Vernon Yang <vernon2gm@gmail.com> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
75cb348714
commit
c5d5546ea0
@@ -5700,12 +5700,11 @@ EXPORT_SYMBOL_GPL(mas_store_prealloc);
|
||||
/**
|
||||
* mas_preallocate() - Preallocate enough nodes for a store operation
|
||||
* @mas: The maple state
|
||||
* @entry: The entry that will be stored
|
||||
* @gfp: The GFP_FLAGS to use for allocations.
|
||||
*
|
||||
* Return: 0 on success, -ENOMEM if memory could not be allocated.
|
||||
*/
|
||||
int mas_preallocate(struct ma_state *mas, void *entry, gfp_t gfp)
|
||||
int mas_preallocate(struct ma_state *mas, gfp_t gfp)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user