projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224f8af
)
Bluetooth: fix set but not used warning
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Wed, 18 May 2011 21:14:45 +0000
(18:14 -0300)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Wed, 8 Jun 2011 19:58:15 +0000
(16:58 -0300)
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index 6b59005fba95497ede782700329abcd335fd6362..af1bc3085c448c69c7d8afa4863c03f758870fb4 100644
(file)
--- 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
{
struct l2cap_chan *chan;
struct sock *sk = NULL;
- struct l2cap_pinfo *pi;
u16 control;
u8 tx_seq;
int len;
@@
-3675,7
+3674,6
@@
static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk
}
sk = chan->sk;
- pi = l2cap_pi(sk);
BT_DBG("chan %p, len %d", chan, skb->len);