lockdep: remove duplicate definition of STATIC_LOCKDEP_MAP_INIT
PATCH 1/1 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 <[email protected]>
--- include/linux/lockdep.h | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-)
include/linux/lockdep.h +0 -8
@@ -276,14 +276,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":
Signature · 1 line
1.5.4.rc3
Ingo Molnar
AppliedQuoted 2 lines · Li Zefan
STATIC_LOCKDEP_MAP_INITis defined twice inlockdep.h. I guess it's a copy & paste.
applied to tip/core/locking, thanks!
Ingo