projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[firefly-linux-kernel-4.4.55.git]
/
net
/
bluetooth
/
bnep
/
sock.c
diff --git
a/net/bluetooth/bnep/sock.c
b/net/bluetooth/bnep/sock.c
index e7154a58465f6b9136f527ab868024464d961564..5b1c04e2882188c73031415144a8130995b27a3d 100644
(file)
--- a/
net/bluetooth/bnep/sock.c
+++ b/
net/bluetooth/bnep/sock.c
@@
-253,8
+253,6
@@
error:
void __exit bnep_sock_cleanup(void)
{
bt_procfs_cleanup(&init_net, "bnep");
- if (bt_sock_unregister(BTPROTO_BNEP) < 0)
- BT_ERR("Can't unregister BNEP socket");
-
+ bt_sock_unregister(BTPROTO_BNEP);
proto_unregister(&bnep_proto);
}