Re: [PATCH] radix_tree: delete orphaned macro radix_tree_indirect_to_ptr

From: Nai Xia
Date: Wed Dec 21 2011 - 22:36:42 EST


On Thu, Dec 22, 2011 at 11:29 AM, Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
> 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

Oh,yes! This thread just suddenly reminds me of that long time
noop line. I should have searched recent patch submission. :)

>
>> Signed-off-by: Nai Xia <nai.xia@xxxxxxxxx>
>> ---
>>  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, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
> Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>
--
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/