Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290858
b: refs/heads/master
c: 8381088
h: refs/heads/master
v: v3
  • Loading branch information
David Herrmann authored and Johan Hedberg committed Feb 13, 2012
1 parent b261211 commit bb018f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 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: 1a609a0a9375cc1fc2097dc697d08fb278a4c764
refs/heads/master: 8381088e39d03c55552b9dfb09b9b303e96acc78
11 changes: 1 addition & 10 deletions trunk/drivers/bluetooth/btusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,15 +783,6 @@ static int btusb_send_frame(struct sk_buff *skb)
return err;
}

static void btusb_destruct(struct hci_dev *hdev)
{
struct btusb_data *data = hdev->driver_data;

BT_DBG("%s", hdev->name);

kfree(data);
}

static void btusb_notify(struct hci_dev *hdev, unsigned int evt)
{
struct btusb_data *data = hdev->driver_data;
Expand Down Expand Up @@ -1004,7 +995,6 @@ static int btusb_probe(struct usb_interface *intf,
hdev->close = btusb_close;
hdev->flush = btusb_flush;
hdev->send = btusb_send_frame;
hdev->destruct = btusb_destruct;
hdev->notify = btusb_notify;

hdev->owner = THIS_MODULE;
Expand Down Expand Up @@ -1108,6 +1098,7 @@ static void btusb_disconnect(struct usb_interface *intf)
__hci_dev_put(hdev);

hci_free_dev(hdev);
kfree(data);
}

#ifdef CONFIG_PM
Expand Down

0 comments on commit bb018f3

Please sign in to comment.