projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b5dd69
)
Bluetooth: Remove *_bh from socket list lock.
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Tue, 27 Dec 2011 17:28:48 +0000
(15:28 -0200)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Tue, 3 Jan 2012 00:20:24 +0000
(22:20 -0200)
We don't need it anymore.
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/af_bluetooth.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/af_bluetooth.c
b/net/bluetooth/af_bluetooth.c
index cdcfcabb34ab8daf5b2275f52084c055926dac73..ef92864ac6258b32ec600ad5791e19d399d0965b 100644
(file)
--- a/
net/bluetooth/af_bluetooth.c
+++ b/
net/bluetooth/af_bluetooth.c
@@
-156,17
+156,17
@@
static int bt_sock_create(struct net *net, struct socket *sock, int proto,
void bt_sock_link(struct bt_sock_list *l, struct sock *sk)
{
- write_lock
_bh
(&l->lock);
+ write_lock(&l->lock);
sk_add_node(sk, &l->head);
- write_unlock
_bh
(&l->lock);
+ write_unlock(&l->lock);
}
EXPORT_SYMBOL(bt_sock_link);
void bt_sock_unlink(struct bt_sock_list *l, struct sock *sk)
{
- write_lock
_bh
(&l->lock);
+ write_lock(&l->lock);
sk_del_node_init(sk);
- write_unlock
_bh
(&l->lock);
+ write_unlock(&l->lock);
}
EXPORT_SYMBOL(bt_sock_unlink);