diff mbox

sctp: eliminate useless code

Message ID 1269995097-11206-1-git-send-email-hagen@jauu.net
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Hagen Paul Pfeifer March 31, 2010, 12:24 a.m. UTC
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>
---
 net/sctp/socket.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

David Miller March 31, 2010, 6:57 a.m. UTC | #1
From: Hagen Paul Pfeifer <hagen@jauu.net>
Date: Wed, 31 Mar 2010 02:24:57 +0200

> 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>

I'll apply this, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index dfc5c12..d80ee3a 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 &&