aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sctp/sm_make_chunk.c1
-rw-r--r--net/sctp/socket.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index ad02311dcd83..ba76ceca2a4e 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1452,7 +1452,6 @@ no_hmac:
1452 do_gettimeofday(&tv); 1452 do_gettimeofday(&tv);
1453 1453
1454 if (!asoc && tv_lt(bear_cookie->expiration, tv)) { 1454 if (!asoc && tv_lt(bear_cookie->expiration, tv)) {
1455 __u16 len;
1456 /* 1455 /*
1457 * Section 3.3.10.3 Stale Cookie Error (3) 1456 * Section 3.3.10.3 Stale Cookie Error (3)
1458 * 1457 *
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index f8de0eb235d9..b31be0994572 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -1529,7 +1529,6 @@ SCTP_STATIC int sctp_sendmsg(struct kiocb *iocb, struct sock *sk,
1529 goto out_unlock; 1529 goto out_unlock;
1530 } 1530 }
1531 if (sinfo_flags & SCTP_ABORT) { 1531 if (sinfo_flags & SCTP_ABORT) {
1532 struct sctp_chunk *chunk;
1533 1532
1534 chunk = sctp_make_abort_user(asoc, msg, msg_len); 1533 chunk = sctp_make_abort_user(asoc, msg, msg_len);
1535 if (!chunk) { 1534 if (!chunk) {