diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-10-11 11:44:59 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-10-11 12:42:27 -0700 |
| commit | 970ec680434442a4266cf34cf6386e3cfaaf85ae (patch) | |
| tree | e2c8c48f38b064c81e1b1947a539453d3496f8b9 /scripts/Makefile.thinlto | |
| parent | 0bb1b14e5c6c308ee214f076592c783a2a9d54f1 (diff) | |
| download | linux-next-970ec680434442a4266cf34cf6386e3cfaaf85ae.tar.gz linux-next-970ec680434442a4266cf34cf6386e3cfaaf85ae.zip | |
assoc_array: move deletion's collapse into a function of its own
assoc_array_delete() is 177 lines: it finds the leaf, clears it, and
then spends some 90 lines collapsing the subtree around it into one
node, with two labels of its own inside an if.
Move the collapse into assoc_array_delete_collapse(), which returns
false when it cannot allocate the node; the caller cancels the edit as
before.
No functional change.
Assisted-by: LLM
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
