Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290857
b: refs/heads/master
c: 1a609a0
h: refs/heads/master
i:
  290855: 537464d
v: v3
  • Loading branch information
David Herrmann authored and Johan Hedberg committed Feb 13, 2012
1 parent 3422082 commit b261211
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: bf18c7118cf83ad4b9aa476354b4a06bcb9d0c4f
refs/heads/master: 1a609a0a9375cc1fc2097dc697d08fb278a4c764
11 changes: 1 addition & 10 deletions trunk/drivers/bluetooth/bfusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,15 +544,6 @@ static int bfusb_send_frame(struct sk_buff *skb)
return 0;
}

static void bfusb_destruct(struct hci_dev *hdev)
{
struct bfusb_data *data = hdev->driver_data;

BT_DBG("hdev %p bfusb %p", hdev, data);

kfree(data);
}

static int bfusb_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg)
{
return -ENOIOCTLCMD;
Expand Down Expand Up @@ -712,7 +703,6 @@ static int bfusb_probe(struct usb_interface *intf, const struct usb_device_id *i
hdev->close = bfusb_close;
hdev->flush = bfusb_flush;
hdev->send = bfusb_send_frame;
hdev->destruct = bfusb_destruct;
hdev->ioctl = bfusb_ioctl;

hdev->owner = THIS_MODULE;
Expand Down Expand Up @@ -753,6 +743,7 @@ static void bfusb_disconnect(struct usb_interface *intf)

hci_unregister_dev(hdev);
hci_free_dev(hdev);
kfree(data);
}

static struct usb_driver bfusb_driver = {
Expand Down

0 comments on commit b261211

Please sign in to comment.