sctp: eliminate useless code
authorHagen Paul Pfeifer <hagen@jauu.net>
Tue, 30 Mar 2010 14:24:57 +0000 (14:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Mar 2010 06:58:22 +0000 (23:58 -0700)
Remove duplicate declaration of symbol: struct hlist_node *node was
already declared, the seconds declaration shadows the first one.

CC: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c

index dfc5c12..d80ee3a 100644 (file)
@@ -5481,7 +5481,6 @@ pp_found:
                 */
                int reuse = sk->sk_reuse;
                struct sock *sk2;
-               struct hlist_node *node;
 
                SCTP_DEBUG_PRINTK("sctp_get_port() found a possible match\n");
                if (pp->fastreuse && sk->sk_reuse &&