Bluetooth: Simplify UUID removal code
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 26 Jan 2013 22:31:30 +0000 (00:31 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 1 Feb 2013 17:50:17 +0000 (15:50 -0200)
commit056341c8cb677356eb2c20a82e788ccb51c6a37b
tree3c451a1706f495e4c564f1b5d84ab5decb8f4ddd
parent83be8eca2e67faaec45280224b798828bbfa69aa
Bluetooth: Simplify UUID removal code

The UUID removal code can be simplified by using
list_for_each_entry_safe instead of list_for_each_safe.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c