linux/net/bluetooth/bnep
David Herrmann 5e9d7f868f Bluetooth: discard bt_sock_unregister() errors
After we successfully registered a socket via bt_sock_register() there is
no reason to ever check the return code of bt_sock_unregister(). If
bt_sock_unregister() fails, it means the socket _is_ already unregistered
so we have what we want, don't we?

Also, to get bt_sock_unregister() to fail, another part of the kernel has
to unregister _our_ socket. This is sooo _wrong_ that it will break way
earlier than when we unregister our socket.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
2013-03-08 10:38:44 -03:00
..
bnep.h Bluetooth: bnep: Fix deadlock in session deletion 2011-08-11 19:50:27 -03:00
core.c Bluetooth: Remove unnecessary include l2cap.h 2013-01-09 17:05:05 -02:00
Kconfig Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
Makefile
netdev.c Bluetooth: Remove unnecessary include export.h 2012-11-01 20:27:04 -02:00
sock.c Bluetooth: discard bt_sock_unregister() errors 2013-03-08 10:38:44 -03:00