linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Li Zefan <lizf@cn.fujitsu.com>
To: "nai.xia" <nai.xia@gmail.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:29:20 +0800	[thread overview]
Message-ID: <4EF2A410.6020400@cn.fujitsu.com> (raw)
In-Reply-To: <4EF2A0ED.8080308@gmail.com>

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@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>

  reply	other threads:[~2011-12-22  3:27 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 [this message]
2011-12-22  3:36             ` Nai Xia

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=4EF2A410.6020400@cn.fujitsu.com \
    --to=lizf@cn.fujitsu.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=mgorman@suse.de \
    --cc=nai.xia@gmail.com \
    /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