diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-05-18 17:14:45 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-06-08 15:58:15 -0400 |
commit | 78676a06260a4162b6837a8a2fb954445004ebc2 (patch) | |
tree | f9950de73c1690a2c08309ab705f116b83d48303 /net | |
parent | 224f8af0db1cd50e9d954ca9d5a7d7716f63d2b0 (diff) |
Bluetooth: fix set but not used warning
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 6b59005fba95..af1bc3085c44 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -3663,7 +3663,6 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk | |||
3663 | { | 3663 | { |
3664 | struct l2cap_chan *chan; | 3664 | struct l2cap_chan *chan; |
3665 | struct sock *sk = NULL; | 3665 | struct sock *sk = NULL; |
3666 | struct l2cap_pinfo *pi; | ||
3667 | u16 control; | 3666 | u16 control; |
3668 | u8 tx_seq; | 3667 | u8 tx_seq; |
3669 | int len; | 3668 | int len; |
@@ -3675,7 +3674,6 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk | |||
3675 | } | 3674 | } |
3676 | 3675 | ||
3677 | sk = chan->sk; | 3676 | sk = chan->sk; |
3678 | pi = l2cap_pi(sk); | ||
3679 | 3677 | ||
3680 | BT_DBG("chan %p, len %d", chan, skb->len); | 3678 | BT_DBG("chan %p, len %d", chan, skb->len); |
3681 | 3679 | ||