summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/bt3c_cs.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-11-30 14:17:19 +0300
committerMarcel Holtmann <marcel@holtmann.org>2008-11-30 14:17:19 +0300
commitdb7aa1c203d477351ed1b8f394b40d9df06ddfc4 (patch)
tree7a53a4e408eedca8e9342b7085ffd9de322919e3 /drivers/bluetooth/bt3c_cs.c
parentc6bf514c6e0171c5b731beffaa0c4463e2335f3d (diff)
downloadlinux-db7aa1c203d477351ed1b8f394b40d9df06ddfc4.tar.xz
Bluetooth: Fix warnings for bt_key_strings and bt_slock_key_strings
After adding proper lockdep annotations for Bluetooth protocols the case when lockdep is disabled produced two compiler warnings: 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 Fix both of them by adding a CONFIG_DEBUG_LOCK_ALLOC conditional around them and re-arranging the code a little bit. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/bt3c_cs.c')
0 files changed, 0 insertions, 0 deletions