Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352337
b: refs/heads/master
c: 4821002
h: refs/heads/master
i:
  352335: 5df4340
v: v3
  • Loading branch information
Johan Hedberg authored and Gustavo Padovan committed Feb 1, 2013
1 parent d1ccee8 commit 426f949
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: de66aa63054a6fe348869722221d5cd3463d74a0
refs/heads/master: 4821002ce2baa130666c2d777e0ed30bee6c7702
10 changes: 3 additions & 7 deletions trunk/net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1183,14 +1183,10 @@ static void hci_discov_off(struct work_struct *work)

int hci_uuids_clear(struct hci_dev *hdev)
{
struct list_head *p, *n;

list_for_each_safe(p, n, &hdev->uuids) {
struct bt_uuid *uuid;
struct bt_uuid *uuid, *tmp;

uuid = list_entry(p, struct bt_uuid, list);

list_del(p);
list_for_each_entry_safe(uuid, tmp, &hdev->uuids, list) {
list_del(&uuid->list);
kfree(uuid);
}

Expand Down

0 comments on commit 426f949

Please sign in to comment.