Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

radix_tree: remove radix_tree_indirect_to_ptr()

It is not used anymore, remove it

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Acked-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Xiao Guangrong and committed by
Linus Torvalds
928da837 65dd2aa9

-3
-3
include/linux/radix-tree.h
··· 49 49 #define RADIX_TREE_EXCEPTIONAL_ENTRY 2 50 50 #define RADIX_TREE_EXCEPTIONAL_SHIFT 2 51 51 52 - #define radix_tree_indirect_to_ptr(ptr) \ 53 - radix_tree_indirect_to_ptr((void __force *)(ptr)) 54 - 55 52 static inline int radix_tree_is_indirect_ptr(void *ptr) 56 53 { 57 54 return (int)((unsigned long)ptr & RADIX_TREE_INDIRECT_PTR);