* radix_tree: remove radix_tree_indirect_to_ptr
@ 2011-12-16 11:08 Xiao Guangrong
2011-12-16 11:10 ` [PATCH] " Xiao Guangrong
0 siblings, 1 reply; 3+ messages in thread
From: Xiao Guangrong @ 2011-12-16 11:08 UTC (permalink / raw)
To: Andrew Morton; +Cc: Nick Piggin, LKML
It is not used anymore, remove it
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] radix_tree: remove radix_tree_indirect_to_ptr
2011-12-16 11:08 radix_tree: remove radix_tree_indirect_to_ptr Xiao Guangrong
@ 2011-12-16 11:10 ` Xiao Guangrong
2011-12-16 18:37 ` Hugh Dickins
0 siblings, 1 reply; 3+ messages in thread
From: Xiao Guangrong @ 2011-12-16 11:10 UTC (permalink / raw)
To: Xiao Guangrong; +Cc: Andrew Morton, Nick Piggin, LKML
It is not used anymore, remove it
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] radix_tree: remove radix_tree_indirect_to_ptr
2011-12-16 11:10 ` [PATCH] " Xiao Guangrong
@ 2011-12-16 18:37 ` Hugh Dickins
0 siblings, 0 replies; 3+ messages in thread
From: Hugh Dickins @ 2011-12-16 18:37 UTC (permalink / raw)
To: Xiao Guangrong; +Cc: Andrew Morton, Nick Piggin, LKML
On Fri, 16 Dec 2011, Xiao Guangrong wrote:
> It is not used anymore, remove it
>
> Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Good, yes, thank you: I'm doing a little there at the moment, so let me add
Acked-by: Hugh Dickins <hughd@google.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-16 18:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-16 11:08 radix_tree: remove radix_tree_indirect_to_ptr Xiao Guangrong
2011-12-16 11:10 ` [PATCH] " Xiao Guangrong
2011-12-16 18:37 ` Hugh Dickins
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.