diff options
Diffstat (limited to 'tools/lib/lockdep/common.c')
-rw-r--r-- | tools/lib/lockdep/common.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/lib/lockdep/common.c b/tools/lib/lockdep/common.c index 9be663340f0a..d1c89cc06f5f 100644 --- a/tools/lib/lockdep/common.c +++ b/tools/lib/lockdep/common.c | |||
@@ -11,11 +11,6 @@ static __thread struct task_struct current_obj; | |||
11 | bool debug_locks = true; | 11 | bool debug_locks = true; |
12 | bool debug_locks_silent; | 12 | bool debug_locks_silent; |
13 | 13 | ||
14 | __attribute__((constructor)) static void liblockdep_init(void) | ||
15 | { | ||
16 | lockdep_init(); | ||
17 | } | ||
18 | |||
19 | __attribute__((destructor)) static void liblockdep_exit(void) | 14 | __attribute__((destructor)) static void liblockdep_exit(void) |
20 | { | 15 | { |
21 | debug_check_no_locks_held(); | 16 | debug_check_no_locks_held(); |