From: Nai Xia <nai.xia@gmail.com>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: Hugh Dickins <hughd@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Dave Chinner <david@fromorbit.com>, Jan Kara <jack@suse.cz>,
Mel Gorman <mgorman@suse.de>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH] radix_tree: delete orphaned macro radix_tree_indirect_to_ptr
Date: Thu, 22 Dec 2011 11:36:41 +0800 [thread overview]
Message-ID: <CAPQyPG4h-uLhEGMGHYoBCVh-zoS7GBWDsnCQ3h6_nqAPkoE2xw@mail.gmail.com> (raw)
In-Reply-To: <4EF2A410.6020400@cn.fujitsu.com>
On Thu, Dec 22, 2011 at 11:29 AM, Li Zefan <lizf@cn.fujitsu.com> 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@gmail.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, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org. 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@kvack.org"> email@kvack.org </a>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. 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@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2011-12-22 3:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-19 6:41 [PATCH] radix_tree: take radix_tree_path off stack Hugh Dickins
2011-12-19 8:20 ` nai.xia
2011-12-19 9:37 ` Nai Xia
2011-12-19 20:13 ` Hugh Dickins
2011-12-21 5:07 ` Dave Chinner
2011-12-21 6:53 ` Hugh Dickins
2011-12-21 22:15 ` Dave Chinner
2011-12-21 23:55 ` Hugh Dickins
2011-12-21 23:57 ` [PATCH] radix_tree: expand comment on optimization Hugh Dickins
2011-12-22 0:17 ` Dave Chinner
2011-12-22 3:15 ` [PATCH] radix_tree: delete orphaned macro radix_tree_indirect_to_ptr nai.xia
2011-12-22 3:29 ` Li Zefan
2011-12-22 3:36 ` Nai Xia [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPQyPG4h-uLhEGMGHYoBCVh-zoS7GBWDsnCQ3h6_nqAPkoE2xw@mail.gmail.com \
--to=nai.xia@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=david@fromorbit.com \
--cc=hughd@google.com \
--cc=jack@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lizf@cn.fujitsu.com \
--cc=mgorman@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).