[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EF2A410.6020400@cn.fujitsu.com>
Date: Thu, 22 Dec 2011 11:29:20 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: "nai.xia" <nai.xia@...il.com>
CC: Hugh Dickins <hughd@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Dave Chinner <david@...morbit.com>, Jan Kara <jack@...e.cz>,
Mel Gorman <mgorman@...e.de>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [PATCH] radix_tree: delete orphaned macro radix_tree_indirect_to_ptr
nai.xia wrote:
> Seems nobody has been using the macro radix_tree_indirect_to_ptr()
> since long time ago. Delete it.
>
Someone else has already posted the same patch.
https://lkml.org/lkml/2011/12/16/118
> Signed-off-by: Nai Xia <nai.xia@...il.com>
> ---
> include/linux/radix-tree.h | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> --- 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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists