From: Ingo Molnar Date: Fri, 17 Oct 2008 13:55:07 +0000 (+0200) Subject: lockdep: include/linux/lockdep.h - fix warning in net/bluetooth/af_bluetooth.c X-Git-Tag: v2.6.29-rc1~572^2~4^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e25cf3db560e803292946ef23a30c69e341ce56f;p=pandora-kernel.git lockdep: include/linux/lockdep.h - fix warning in net/bluetooth/af_bluetooth.c fix this warning: net/bluetooth/af_bluetooth.c:60: warning: ‘bt_key_strings’ defined but not used net/bluetooth/af_bluetooth.c:71: warning: ‘bt_slock_key_strings’ defined but not used this is a lockdep macro problem in the !LOCKDEP case. We cannot convert it to an inline because the macro works on multiple types, but we can mark the parameter used. [ also clean up a misaligned tab in sock_lock_init_class_and_name() ] [ also remove #ifdefs from around af_family_clock_key strings - which were certainly added to get rid of the ugly build warnings. ] Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed