diff options
author | Hagen Paul Pfeifer <hagen@jauu.net> | 2011-03-04 06:45:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-07 18:51:14 -0500 |
commit | efea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2 (patch) | |
tree | b2b630441b908802ccfa303fb35f07aab11a78a0 /net/sctp/associola.c | |
parent | e143038f4dda10a51985b9a3f9fb07d73a5eadfa (diff) |
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/associola.c')
-rw-r--r-- | net/sctp/associola.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c index 5f1fb8bd862d..6b04287913cd 100644 --- a/net/sctp/associola.c +++ b/net/sctp/associola.c | |||
@@ -1089,7 +1089,6 @@ static void sctp_assoc_bh_rcv(struct work_struct *work) | |||
1089 | base.inqueue.immediate); | 1089 | base.inqueue.immediate); |
1090 | struct sctp_endpoint *ep; | 1090 | struct sctp_endpoint *ep; |
1091 | struct sctp_chunk *chunk; | 1091 | struct sctp_chunk *chunk; |
1092 | struct sock *sk; | ||
1093 | struct sctp_inq *inqueue; | 1092 | struct sctp_inq *inqueue; |
1094 | int state; | 1093 | int state; |
1095 | sctp_subtype_t subtype; | 1094 | sctp_subtype_t subtype; |
@@ -1097,7 +1096,6 @@ static void sctp_assoc_bh_rcv(struct work_struct *work) | |||
1097 | 1096 | ||
1098 | /* The association should be held so we should be safe. */ | 1097 | /* The association should be held so we should be safe. */ |
1099 | ep = asoc->ep; | 1098 | ep = asoc->ep; |
1100 | sk = asoc->base.sk; | ||
1101 | 1099 | ||
1102 | inqueue = &asoc->base.inqueue; | 1100 | inqueue = &asoc->base.inqueue; |
1103 | sctp_association_hold(asoc); | 1101 | sctp_association_hold(asoc); |