aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lockdep.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-06-22 22:52:42 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-24 07:43:07 -0400
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,
279 (lock)->dep_map.key, sub) 279 (lock)->dep_map.key, sub)
280 280
281/* 281/*
282 * To initialize a lockdep_map statically use this macro.
283 * Note that _name must not be NULL.
284 */
285#define STATIC_LOCKDEP_MAP_INIT(_name, _key) \
286 { .name = (_name), .key = (void *)(_key), }
287
288
289/*
290 * Acquire a lock. 282 * Acquire a lock.
291 * 283 *
292 * Values for "read": 284 * Values for "read":