Bluetooth: Simplify UUIDs clearing code
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 26 Jan 2013 22:31:28 +0000 (00:31 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 1 Feb 2013 17:50:16 +0000 (15:50 -0200)
commit4821002ce2baa130666c2d777e0ed30bee6c7702
treed8c7757a392054bd008163e39f2d6d98fbec9b23
parentde66aa63054a6fe348869722221d5cd3463d74a0
Bluetooth: Simplify UUIDs clearing code

The code for clearing the UUIDs list 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/hci_core.c