Bluetooth: Get rid of __rfcomm_get_sock_by_channel()
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:43 +0000 (21:04 -0200)
commiteeb366564be7c311b31c70821d18a43a8a57f9bc
tree7378939c2d8be9356620d1d08a170b1c7f9f9759
parente0f0cb56364958223f0cb1f1b0b0eecf1b8dcb95
Bluetooth: Get rid of __rfcomm_get_sock_by_channel()

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

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