diff options
| author | 2026-10-05 17:32:33 +0800 | |
|---|---|---|
| committer | 2026-10-13 13:51:27 +0200 | |
| commit | 9fc91ae6852aa6e63c08b6093634cfcc85021b4e (patch) | |
| tree | d810185e050e189cf2ab59b5ba5237eaef13d208 /scripts/Makefile.thinlto | |
| parent | Merge branch 'tip/sched/urgent' (diff) | |
rbtree_test: Use rb_add() and rb_add_cached() for the basic tests
insert() and insert_cached() open-code exactly what the generic
rb_add() and rb_add_cached() helpers do. Use the helpers instead.
Besides removing duplicated code, this makes rbtree_test cover the
helpers themselves, which is what most in-tree rbtree users call
nowadays.
Signed-off-by: Yiwei Lin <s921975628@gmail.com>
Assisted-by: LLM
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20261005093236.62702-2-s921975628@gmail.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
