summaryrefslogtreecommitdiffstats
path: root/net/sctp/outqueue.c
diff options
context:
space:
mode:
authorHagen Paul Pfeifer <hagen@jauu.net>2011-03-04 12:45:05 +0100
committerDavid S. Miller <davem@davemloft.net>2011-03-08 00:51:14 +0100
commitefea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2 (patch)
treeb2b630441b908802ccfa303fb35f07aab11a78a0 /net/sctp/outqueue.c
parentaf_packet: struct socket declared/assigned but unused (diff)
downloadlinux-efea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2.tar.xz
linux-efea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2.zip
sctp: several declared/set but unused fixes
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/outqueue.c')
-rw-r--r--net/sctp/outqueue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c
index 8c6d379b4bb6..26dc005113a0 100644
--- a/net/sctp/outqueue.c
+++ b/net/sctp/outqueue.c
@@ -545,13 +545,11 @@ static int sctp_outq_flush_rtx(struct sctp_outq *q, struct sctp_packet *pkt,
struct sctp_transport *transport = pkt->transport;
sctp_xmit_t status;
struct sctp_chunk *chunk, *chunk1;
- struct sctp_association *asoc;
int fast_rtx;
int error = 0;
int timer = 0;
int done = 0;
- asoc = q->asoc;
lqueue = &q->retransmit;
fast_rtx = q->fast_rtx;