Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290860
b: refs/heads/master
c: dabbaab
h: refs/heads/master
v: v3
  • Loading branch information
David Herrmann authored and Johan Hedberg committed Feb 13, 2012
1 parent cbb3faf commit 368bcdb
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: d25442ba4b44bf1fad50c9c2156a4ca89f269713
refs/heads/master: dabbaab394d17ba1d1b55092d553e6e31a3d0afd
11 changes: 1 addition & 10 deletions trunk/drivers/bluetooth/btsdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,15 +289,6 @@ static int btsdio_send_frame(struct sk_buff *skb)
return 0;
}

static void btsdio_destruct(struct hci_dev *hdev)
{
struct btsdio_data *data = hdev->driver_data;

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

kfree(data);
}

static int btsdio_probe(struct sdio_func *func,
const struct sdio_device_id *id)
{
Expand Down Expand Up @@ -345,7 +336,6 @@ static int btsdio_probe(struct sdio_func *func,
hdev->close = btsdio_close;
hdev->flush = btsdio_flush;
hdev->send = btsdio_send_frame;
hdev->destruct = btsdio_destruct;

hdev->owner = THIS_MODULE;

Expand Down Expand Up @@ -378,6 +368,7 @@ static void btsdio_remove(struct sdio_func *func)
hci_unregister_dev(hdev);

hci_free_dev(hdev);
kfree(data);
}

static struct sdio_driver btsdio_driver = {
Expand Down

0 comments on commit 368bcdb

Please sign in to comment.