From: Hagen Paul Pfeifer Date: Tue, 30 Mar 2010 14:24:57 +0000 (+0000) Subject: sctp: eliminate useless code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b68c92460d380c59891ba97531edbe5b01f5ea0b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Hagen Paul Pfeifer Signed-off-by: David S. Miller --- 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 &&