Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c86dabcf00f3ca167df59f3526a53b3da3ede2c8
Commit:     c86dabcf00f3ca167df59f3526a53b3da3ede2c8
Parent:     0a5fcb9cf8e5c3fabaab1c20668f58fe85d7c70d
Author:     [EMAIL PROTECTED] <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 26 23:21:33 2007 +0200
Committer:  Vlad Yasevich <[EMAIL PROTECTED]>
CommitDate: Wed Aug 1 11:19:06 2007 -0400

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]>
---
 net/sctp/sm_make_chunk.c |    1 -
 net/sctp/socket.c        |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index ad02311..ba76cec 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1452,7 +1452,6 @@ no_hmac:
                do_gettimeofday(&tv);
 
        if (!asoc && tv_lt(bear_cookie->expiration, tv)) {
-               __u16 len;
                /*
                 * Section 3.3.10.3 Stale Cookie Error (3)
                 *
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index f8de0eb..b31be09 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,
                        goto out_unlock;
                }
                if (sinfo_flags & SCTP_ABORT) {
-                       struct sctp_chunk *chunk;
 
                        chunk = sctp_make_abort_user(asoc, msg, msg_len);
                        if (!chunk) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to