diff options
author | Matthew Wilcox <willy@linux.intel.com> | 2016-05-20 17:03:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-20 17:58:30 -0700 |
commit | fb209019c92a9141fd73f3c4928edc1b299b3490 (patch) | |
tree | 77fe9c542dc018fd135fb89c8ac4165f4b6ed077 /lib/locking-selftest-spin-softirq.h | |
parent | c12e51b07b3ac4c188fd91a82f96840fdb9cca6f (diff) | |
download | lwn-fb209019c92a9141fd73f3c4928edc1b299b3490.tar.gz lwn-fb209019c92a9141fd73f3c4928edc1b299b3490.zip |
radix-tree: remove a use of root->height from delete_node
If radix_tree_shrink returns whether it managed to shrink, then
__radix_tree_delete_node doesn't ned to query the tree to find out
whether it did any work or not.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com>
Cc: Jan Kara <jack@suse.com>
Cc: Neil Brown <neilb@suse.de>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-spin-softirq.h')
0 files changed, 0 insertions, 0 deletions