aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHagen Paul Pfeifer <hagen@jauu.net>2010-03-30 10:24:57 -0400
committerDavid S. Miller <davem@davemloft.net>2010-03-31 02:58:22 -0400
commitb68c92460d380c59891ba97531edbe5b01f5ea0b (patch)
tree05ebe496fbb01f0277eb7a45aa6c90ffc2268463
parent8379d07031e59a5d72bc73a6060c4d63aac956ce (diff)
sctp: eliminate useless code
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>
-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 dfc5c127efd4..d80ee3a2f110 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -5481,7 +5481,6 @@ pp_found:
5481 */ 5481 */
5482 int reuse = sk->sk_reuse; 5482 int reuse = sk->sk_reuse;
5483 struct sock *sk2; 5483 struct sock *sk2;
5484 struct hlist_node *node;
5485 5484
5486 SCTP_DEBUG_PRINTK("sctp_get_port() found a possible match\n"); 5485 SCTP_DEBUG_PRINTK("sctp_get_port() found a possible match\n");
5487 if (pp->fastreuse && sk->sk_reuse && 5486 if (pp->fastreuse && sk->sk_reuse &&