diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-10-21 22:22:26 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-21 22:50:56 +0200 |
commit | d78a32a8fcf775111ccc9ba611a08ca5c29784b6 (patch) | |
tree | 039a7bfd8ad840946390f9940381c3ebfa5cfba5 /net | |
parent | Bluetooth: Use bt_cb(skb)->chan to send raw data back (diff) | |
download | linux-d78a32a8fcf775111ccc9ba611a08ca5c29784b6.tar.xz linux-d78a32a8fcf775111ccc9ba611a08ca5c29784b6.zip |
Bluetooth: Remove sk member from struct l2cap_chan
There is no access to chan->sk in L2CAP core now. This change marks the
end of the task of splitting L2CAP between Core and Socket, thus sk is now
gone from struct l2cap_chan.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/l2cap_sock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c index cba3162dc33d..7cc24d263caa 100644 --- a/net/bluetooth/l2cap_sock.c +++ b/net/bluetooth/l2cap_sock.c @@ -1374,8 +1374,6 @@ static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, l2cap_chan_hold(chan); - chan->sk = sk; - l2cap_pi(sk)->chan = chan; return sk; |