Commit 78676a06 authored by Gustavo F. Padovan's avatar Gustavo F. Padovan

Bluetooth: fix set but not used warning

Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 224f8af0
...@@ -3663,7 +3663,6 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk ...@@ -3663,7 +3663,6 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk
{ {
struct l2cap_chan *chan; struct l2cap_chan *chan;
struct sock *sk = NULL; struct sock *sk = NULL;
struct l2cap_pinfo *pi;
u16 control; u16 control;
u8 tx_seq; u8 tx_seq;
int len; int len;
...@@ -3675,7 +3674,6 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk ...@@ -3675,7 +3674,6 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk
} }
sk = chan->sk; sk = chan->sk;
pi = l2cap_pi(sk);
BT_DBG("chan %p, len %d", chan, skb->len); BT_DBG("chan %p, len %d", chan, skb->len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment