diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2008-03-05 18:47:40 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-05 18:47:40 -0800 |
commit | a4e2acf01a7e5fcd960fc332335ca10313641f4b (patch) | |
tree | fc6fa7b3f8c74c46aee76a4f62bad997297e3129 /net/bluetooth/bnep/sock.c | |
parent | 04005dd9ae7bf1031408869c33df96149ebb1086 (diff) | |
download | linux-3.10-a4e2acf01a7e5fcd960fc332335ca10313641f4b.tar.gz linux-3.10-a4e2acf01a7e5fcd960fc332335ca10313641f4b.tar.bz2 linux-3.10-a4e2acf01a7e5fcd960fc332335ca10313641f4b.zip |
bluetooth: make bnep_sock_cleanup() return void
bnep_sock_cleanup() always returns 0 and its return value isn't used
anywhere in the code.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/bnep/sock.c')
-rw-r--r-- | net/bluetooth/bnep/sock.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/bluetooth/bnep/sock.c b/net/bluetooth/bnep/sock.c index 81065e548a1..201e5b1ce47 100644 --- a/net/bluetooth/bnep/sock.c +++ b/net/bluetooth/bnep/sock.c @@ -257,12 +257,10 @@ error: return err; } -int __exit bnep_sock_cleanup(void) +void __exit bnep_sock_cleanup(void) { if (bt_sock_unregister(BTPROTO_BNEP) < 0) BT_ERR("Can't unregister BNEP socket"); proto_unregister(&bnep_proto); - - return 0; } |