diff options
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); |