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)
commite0f0cb56364958223f0cb1f1b0b0eecf1b8dcb95
tree9eb8016a9ea039e65b3120d8b5f3568031238d76
parentcc11b9c14da4ca1c545b424dae2ae8fb1ab04063
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