diff options
| author | wuchi <[email protected]> | 2022-06-07 13:35:56 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-06-17 02:58:21 +0000 |
| commit | c0af32fdc625c0e7f03465a813b04cbfb5419a1e (patch) | |
| tree | b771c5d32d454ebdb3ba161b2871497117885b3c /lib/error-inject.c | |
| parent | ia64: fix sparse warnings with cmpxchg() & xchg() (diff) | |
| download | kernel-c0af32fdc625c0e7f03465a813b04cbfb5419a1e.tar.gz kernel-c0af32fdc625c0e7f03465a813b04cbfb5419a1e.zip | |
lib/btree: simplify btree_{lookup|update}
btree_{lookup|update} both need to look up node by key, using the common
parts(add function btree_lookup_node) to simplify code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: wuchi <[email protected]>
Cc: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions
