From: Li Zefan Date: Mon, 23 Jun 2008 02:52:42 +0000 (+0800) Subject: lockdep: remove duplicate definition of STATIC_LOCKDEP_MAP_INIT X-Git-Tag: v2.6.27-rc1~1100^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a033c332e047397904ed74816946b2edd9b0d5cd;p=linux-2.6-omap-h63xx.git 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 Cc: Peter Zijlstra Signed-off-by: Ingo Molnar --- 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 @@ -278,14 +278,6 @@ extern void lockdep_init_map(struct lockdep_map *lock, const char *name, lockdep_init_map(&(lock)->dep_map, #lock, \ (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. *