[RFC: 2.6 patch] remove kernel/lockdep.c:lockdep_internal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch removes the no longer used lockdep_internal().

Signed-off-by: Adrian Bunk <[email protected]>

---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux