Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87223
b: refs/heads/master
c: 04005dd
h: refs/heads/master
i:
  87221: 6a96ebb
  87219: 46be36b
  87215: c1fe1f7
v: v3
  • Loading branch information
Tobias Klauser authored and David S. Miller committed Mar 6, 2008
1 parent dd71da7 commit 439d428
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 147e2d59833e994cc99341806a88b9e59be41391
refs/heads/master: 04005dd9ae7bf1031408869c33df96149ebb1086
2 changes: 1 addition & 1 deletion trunk/include/net/bluetooth/bluetooth.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ static inline int skb_frags_no(struct sk_buff *skb)
int bt_err(__u16 code);

extern int hci_sock_init(void);
extern int hci_sock_cleanup(void);
extern void hci_sock_cleanup(void);

extern int bt_sysfs_init(void);
extern void bt_sysfs_cleanup(void);
Expand Down
4 changes: 1 addition & 3 deletions trunk/net/bluetooth/hci_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,14 +734,12 @@ int __init hci_sock_init(void)
return err;
}

int __exit hci_sock_cleanup(void)
void __exit hci_sock_cleanup(void)
{
if (bt_sock_unregister(BTPROTO_HCI) < 0)
BT_ERR("HCI socket unregistration failed");

hci_unregister_notifier(&hci_sock_nblock);

proto_unregister(&hci_sk_proto);

return 0;
}

0 comments on commit 439d428

Please sign in to comment.