Skip to content

Commit

Permalink
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
Browse files Browse the repository at this point in the history
…t/holtmann/bluetooth-2.6
  • Loading branch information
davem330 committed Jun 1, 2009
2 parents cf9f6e2 + 4c71318 commit fc23ffe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions net/bluetooth/hci_sysfs.c
Expand Up @@ -90,9 +90,6 @@ static void add_conn(struct work_struct *work)
struct hci_conn *conn = container_of(work, struct hci_conn, work_add);
struct hci_dev *hdev = conn->hdev;

/* ensure previous del is complete */
flush_work(&conn->work_del);

dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle);

if (device_add(&conn->dev) < 0) {
Expand All @@ -118,9 +115,6 @@ static void del_conn(struct work_struct *work)
struct hci_conn *conn = container_of(work, struct hci_conn, work_del);
struct hci_dev *hdev = conn->hdev;

/* ensure previous add is complete */
flush_work(&conn->work_add);

if (!device_is_registered(&conn->dev))
return;

Expand Down

0 comments on commit fc23ffe

Please sign in to comment.