git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
locking/lockdep: Eliminate lockdep_init()
[sfrench/cifs-2.6.git]
/
tools
/
lib
/
lockdep
/
common.c
diff --git
a/tools/lib/lockdep/common.c
b/tools/lib/lockdep/common.c
index 9be663340f0a4c48e9ec51c996b13c3a8b596fdc..d1c89cc06f5f6710471c42dc5b2a475a54ee7658 100644
(file)
--- a/
tools/lib/lockdep/common.c
+++ b/
tools/lib/lockdep/common.c
@@
-11,11
+11,6
@@
static __thread struct task_struct current_obj;
bool debug_locks = true;
bool debug_locks_silent;
-__attribute__((constructor)) static void liblockdep_init(void)
-{
- lockdep_init();
-}
-
__attribute__((destructor)) static void liblockdep_exit(void)
{
debug_check_no_locks_held();