lkml.org 
[lkml]   [2006]   [Nov]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 18 Nov 2006 00:58:33 +0100
FromAdrian Bunk <>
Subject[RFC: 2.6 patch] remove kernel/lockdep.c:lockdep_internal
This patch removes the no longer used lockdep_internal().

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
 include/linux/lockdep.h |    6 ------
 kernel/lockdep.c        |    7 -------
 2 files changed, 13 deletions(-)
--- linux-2.6.19-rc5-mm2/include/linux/lockdep.h.old	2006-11-17 18:59:56.000000000 +0100
+++ linux-2.6.19-rc5-mm2/include/linux/lockdep.h	2006-11-17 19:00:07.000000000 +0100
@@ -193,7 +193,6 @@
 
 extern void lockdep_off(void);
 extern void lockdep_on(void);
-extern int lockdep_internal(void);
 
 /*
  * These methods are used by specific locking variants (spinlocks,
@@ -255,11 +254,6 @@
 {
 }
 
-static inline int lockdep_internal(void)
-{
-	return 0;
-}
-
 # define lock_acquire(l, s, t, r, c, i)		do { } while (0)
 # define lock_release(l, n, i)			do { } while (0)
 # define lockdep_init()				do { } while (0)
--- linux-2.6.19-rc5-mm2/kernel/lockdep.c.old	2006-11-17 19:00:17.000000000 +0100
+++ linux-2.6.19-rc5-mm2/kernel/lockdep.c	2006-11-17 19:00:33.000000000 +0100
@@ -140,13 +140,6 @@
 
 EXPORT_SYMBOL(lockdep_on);
 
-int lockdep_internal(void)
-{
-	return current->lockdep_recursion != 0;
-}
-
-EXPORT_SYMBOL(lockdep_internal);
-
 /*
  * Debugging switches:
  */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-18 00:03    [from the cache]
©2003-2008