mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
[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>
This commit is contained in:
parent
1f370a23f2
commit
ebe7e5fe4b
@ -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)
|
||||
|
@ -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:
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user