]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Get rid of __l2cap_get_sock_by_psm()
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 1 Nov 2010 18:43:53 +0000 (18:43 +0000)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 1 Dec 2010 23:04:42 +0000 (21:04 -0200)
commit806ee8a2ecf2208345b47ba7524561f8bb2b10de
tree9eb8016a9ea039e65b3120d8b5f3568031238d76
parent8d9252713141f17929b61496094782c7a7923d66
Bluetooth: Get rid of __l2cap_get_sock_by_psm()

l2cap_get_sock_by_psm() was the only user of this function, so I merged
both into l2cap_get_sock_by_psm(). The socket lock now should be hold
outside of l2cap_get_sock_by_psm() once we hold and release it inside the
same function now.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap.c