diff options
author | wuchi <[email protected]> | 2022-06-25 21:53:24 +0800 |
---|---|---|
committer | akpm <[email protected]> | 2022-07-17 17:31:38 -0700 |
commit | cda83bb8a61e6d7ce231dc1c2b78a9b79b1f1411 (patch) | |
tree | bae10768a5ff35e64d7f4247ef1bb9690b81c2d8 /scripts/gdb/linux/modules.py | |
parent | 045ed31e23aea840648c290dbde04797064960db (diff) |
lib/radix-tree: remove unused argument of insert_entries
insert_entries() doesn't use the 'bool replace' argument, and the function
is only used locally, remove the argument.
The historical context of the unused argument is as follow:
2: commit <3a08cd52c37c79> (radix tree: Remove multiorder support)
Remove the code related to macro CONFIG_RADIX_TREE_MULTIORDER
to convert to the xArray.
Without the macro, there is no need to retain the argument.
1: commit <175542f575723e> (radix-tree: add radix_tree_join)
Add insert_entries(..., bool replace) function, depending on the
macro CONFIG_RADIX_TREE_MULTIORDER definition, the implementation
is different. Notice that the implementation without the macro doesn't
use the argument.
[Matthew Wilcox: add historical context for argument]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: wuchi <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions