summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-06 20:38:21 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 08:39:39 -0800
commitebe7e5fe4b41deeb2731c5b52d8c8e6ac08b1f74 (patch)
tree4fde2d9f7562776ef3b227d81a6dcd0928d9b13d
parent1f370a23f2a3101886953add4bd7f529e3bba016 (diff)
downloadop-kernel-dev-ebe7e5fe4b41deeb2731c5b52d8c8e6ac08b1f74.zip
op-kernel-dev-ebe7e5fe4b41deeb2731c5b52d8c8e6ac08b1f74.tar.gz
[PATCH] remove kernel/lockdep.c:lockdep_internal
Remove the no longer used lockdep_internal(). Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/linux/lockdep.h6
-rw-r--r--kernel/lockdep.c7
2 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
index da19aeb..498bfbd 100644
--- a/include/linux/lockdep.h
+++ b/include/linux/lockdep.h
@@ -193,7 +193,6 @@ extern void lockdep_free_key_range(void *start, unsigned long size);
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 void lockdep_on(void)
{
}
-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)
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index 300d61b..3926c36 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -140,13 +140,6 @@ void lockdep_on(void)
EXPORT_SYMBOL(lockdep_on);
-int lockdep_internal(void)
-{
- return current->lockdep_recursion != 0;
-}
-
-EXPORT_SYMBOL(lockdep_internal);
-
/*
* Debugging switches:
*/
OpenPOWER on IntegriCloud