Re: [PATCH] radix_tree: remove radix_tree_indirect_to_ptr

From: Hugh Dickins
Date: Fri Dec 16 2011 - 13:37:50 EST


On Fri, 16 Dec 2011, Xiao Guangrong wrote:

> It is not used anymore, remove it
>
> Signed-off-by: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxxxxxx>

Good, yes, thank you: I'm doing a little there at the moment, so let me add
Acked-by: Hugh Dickins <hughd@xxxxxxxxxx>

> ---
> include/linux/radix-tree.h | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
> index 9d4539c..07e360b 100644
> --- a/include/linux/radix-tree.h
> +++ b/include/linux/radix-tree.h
> @@ -49,9 +49,6 @@
> #define RADIX_TREE_EXCEPTIONAL_ENTRY 2
> #define RADIX_TREE_EXCEPTIONAL_SHIFT 2
>
> -#define radix_tree_indirect_to_ptr(ptr) \
> - radix_tree_indirect_to_ptr((void __force *)(ptr))
> -
> static inline int radix_tree_is_indirect_ptr(void *ptr)
> {
> return (int)((unsigned long)ptr & RADIX_TREE_INDIRECT_PTR);
> --
> 1.7.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/