summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorHagen Paul Pfeifer <hagen@jauu.net>2010-03-30 18:24:57 +0400
committerDavid S. Miller <davem@davemloft.net>2010-03-31 10:58:22 +0400
commitb68c92460d380c59891ba97531edbe5b01f5ea0b (patch)
tree05ebe496fbb01f0277eb7a45aa6c90ffc2268463 /net/sctp
parent8379d07031e59a5d72bc73a6060c4d63aac956ce (diff)
downloadlinux-b68c92460d380c59891ba97531edbe5b01f5ea0b.tar.xz
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>
Diffstat (limited to 'net/sctp')
-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:
*/
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 &&