diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-06-23 10:52:42 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-24 13:43:07 +0200 |
commit | a033c332e047397904ed74816946b2edd9b0d5cd (patch) | |
tree | fbc516c0e88da90bb4398c3c056fdc12988dbd04 /include/linux/lockdep.h | |
parent | cd1a28e8457e6ebf72c48d84d4e736307e86436e (diff) |
lockdep: remove duplicate definition of STATIC_LOCKDEP_MAP_INIT
STATIC_LOCKDEP_MAP_INIT is defined twice in lockdep.h. I guess
it's a copy & paste.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/lockdep.h')
-rw-r--r-- | include/linux/lockdep.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index b26fbc715a5..2486eb4edbf 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h @@ -279,14 +279,6 @@ extern void lockdep_init_map(struct lockdep_map *lock, const char *name, (lock)->dep_map.key, sub) /* - * To initialize a lockdep_map statically use this macro. - * Note that _name must not be NULL. - */ -#define STATIC_LOCKDEP_MAP_INIT(_name, _key) \ - { .name = (_name), .key = (void *)(_key), } - - -/* * Acquire a lock. * * Values for "read": |