summaryrefslogtreecommitdiff
path: root/include/linux/lockdep.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-06-23 10:52:42 +0800
committerIngo Molnar <mingo@elte.hu>2008-06-24 13:43:07 +0200
commita033c332e047397904ed74816946b2edd9b0d5cd (patch)
treefbc516c0e88da90bb4398c3c056fdc12988dbd04 /include/linux/lockdep.h
parentcd1a28e8457e6ebf72c48d84d4e736307e86436e (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.h8
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":