From: Gustavo F. Padovan Date: Mon, 1 Nov 2010 18:43:53 +0000 (+0000) Subject: Bluetooth: Get rid of __l2cap_get_sock_by_psm() X-Git-Tag: v2.6.38-rc1~476^2~276^2^2~10^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0f0cb56364958223f0cb1f1b0b0eecf1b8dcb95;p=pandora-kernel.git 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 --- Reading git-diff-tree failed