summaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan2011-12-27 17:43:41 +0100
committerGustavo F. Padovan2011-12-27 17:43:41 +0100
commit4ae1652ef1bf38e07caa5d1d86ffd3b31103b55a (patch)
treec75275f7080589390fd7b80556e518cb49ec7c73 /net/bluetooth
parentBluetooth: Incorrect address while storing LTK. (diff)
downloadkernel-qcow2-linux-4ae1652ef1bf38e07caa5d1d86ffd3b31103b55a.tar.gz
kernel-qcow2-linux-4ae1652ef1bf38e07caa5d1d86ffd3b31103b55a.tar.xz
kernel-qcow2-linux-4ae1652ef1bf38e07caa5d1d86ffd3b31103b55a.zip
Bluetooth: Fix a compile warning in RFCOMM
sock and sk were leftover from another change. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/rfcomm/core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c
index 1524418f39e3..09a3cbcf794e 100644
--- 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);