[PATCH 7/7 V3] idr: remove useless #ifndef TEST

2014-04-22 Thread Lai Jiangshan
"#ifndef TEST" can't work for user space test now, just remove it.

Signed-off-by: Lai Jiangshan 
Acked-by: Tejun Heo 
---
 lib/idr.c |2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/idr.c b/lib/idr.c
index 39158ab..96bb252 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -20,11 +20,9 @@
  * that id to this code and it returns your pointer.
  */
 
-#ifndef TEST// to test in user space...
 #include 
 #include 
 #include 
-#endif
 #include 
 #include 
 #include 
-- 
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 7/7 V3] idr: remove useless #ifndef TEST

2014-04-22 Thread Lai Jiangshan
#ifndef TEST can't work for user space test now, just remove it.

Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
Acked-by: Tejun Heo t...@kernel.org
---
 lib/idr.c |2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/idr.c b/lib/idr.c
index 39158ab..96bb252 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -20,11 +20,9 @@
  * that id to this code and it returns your pointer.
  */
 
-#ifndef TEST// to test in user space...
 #include linux/slab.h
 #include linux/init.h
 #include linux/export.h
-#endif
 #include linux/err.h
 #include linux/string.h
 #include linux/idr.h
-- 
1.7.4.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/