diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2008-03-05 18:47:03 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-05 18:47:03 -0800 |
commit | 04005dd9ae7bf1031408869c33df96149ebb1086 (patch) | |
tree | 07a729c5a58c27dcf0247aac66515ce48b3a98cc /include/net/bluetooth | |
parent | 147e2d59833e994cc99341806a88b9e59be41391 (diff) | |
download | op-kernel-dev-04005dd9ae7bf1031408869c33df96149ebb1086.zip op-kernel-dev-04005dd9ae7bf1031408869c33df96149ebb1086.tar.gz |
bluetooth: Make hci_sock_cleanup() return void
hci_sock_cleanup() always returns 0 and its return value isn't used
anywhere in the code.
Compile-tested with 'make allyesconfig && make net/bluetooth/bluetooth.ko'
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 771d177..750648d 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h @@ -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); |