aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/socket.c
diff options
context:
space:
mode:
authorsebastian@breakpoint.cc <sebastian@breakpoint.cc>2007-07-26 17:21:33 -0400
committerVlad Yasevich <vladislav.yasevich@hp.com>2007-08-01 11:19:06 -0400
commitc86dabcf00f3ca167df59f3526a53b3da3ede2c8 (patch)
tree22b2adcfa53b6715b5e1362c722a747611d78abd /net/sctp/socket.c
parent0a5fcb9cf8e5c3fabaab1c20668f58fe85d7c70d (diff)
sctp: remove shadowed symbols
Fixes the following sparse warnings: net/sctp/sm_make_chunk.c:1457:9: warning: symbol 'len' shadows an earlier one net/sctp/sm_make_chunk.c:1356:23: originally declared here net/sctp/socket.c:1534:22: warning: symbol 'chunk' shadows an earlier one net/sctp/socket.c:1387:20: originally declared here Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r--net/sctp/socket.c1
1 files changed, 0 insertions, 1 deletions
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) {