projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3573b80
)
Bluetooth: Fix a compile warning in RFCOMM
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Tue, 27 Dec 2011 16:43:41 +0000
(14:43 -0200)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Tue, 27 Dec 2011 16:43:41 +0000
(14:43 -0200)
sock and sk were leftover from another change.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/rfcomm/core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/rfcomm/core.c
b/net/bluetooth/rfcomm/core.c
index 1524418f39e35aa532b82ddd0a2edecddb464913..09a3cbcf794e9cd6297f6a07841381009a44fd9a 100644
(file)
--- a/
net/bluetooth/rfcomm/core.c
+++ b/
net/bluetooth/rfcomm/core.c
@@
-1774,9
+1774,6
@@
static inline int rfcomm_process_tx(struct rfcomm_dlc *d)
return skb_queue_len(&d->tx_queue);
while (d->tx_credits && (skb = skb_dequeue(&d->tx_queue))) {
- struct socket *sock = d->session->sock;
- struct sock *sk = sock->sk;
-
err = rfcomm_send_frame(d->session, skb->data, skb->len);
if (err < 0) {
skb_queue_head(&d->tx_queue, skb);