Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290951
b: refs/heads/master
c: 2dd1068
h: refs/heads/master
i:
  290949: 26771a7
  290947: b7f742d
  290943: 5ad1f2a
v: v3
  • Loading branch information
David Herrmann authored and Johan Hedberg committed Feb 13, 2012
1 parent d7ef6d5 commit 6b3f7df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 3dc07322b1ce3c8477690d54ebbf15a165f43066
refs/heads/master: 2dd106887d6503819f2cedc408497023547439bb
8 changes: 4 additions & 4 deletions trunk/net/bluetooth/hci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ static const struct attribute_group *bt_link_groups[] = {

static void bt_link_release(struct device *dev)
{
void *data = to_hci_conn(dev);
kfree(data);
struct hci_conn *conn = to_hci_conn(dev);
kfree(conn);
}

static struct device_type bt_link = {
Expand Down Expand Up @@ -368,8 +368,8 @@ static const struct attribute_group *bt_host_groups[] = {

static void bt_host_release(struct device *dev)
{
void *data = to_hci_dev(dev);
kfree(data);
struct hci_dev *hdev = to_hci_dev(dev);
kfree(hdev);
module_put(THIS_MODULE);
}

Expand Down

0 comments on commit 6b3f7df

Please sign in to comment.