* [PATCH] sctp: eliminate useless code
@ 2010-03-31  0:24 Hagen Paul Pfeifer
  2010-03-31  6:57 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Hagen Paul Pfeifer @ 2010-03-31  0:24 UTC (permalink / raw)
  To: netdev; +Cc: vladislav.yasevich, davem
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(-)
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 &&
-- 
1.6.6.196.g1f735.dirty
^ permalink raw reply related	[flat|nested] 2+ messages in thread
* Re: [PATCH] sctp: eliminate useless code
  2010-03-31  0:24 [PATCH] sctp: eliminate useless code Hagen Paul Pfeifer
@ 2010-03-31  6:57 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-03-31  6:57 UTC (permalink / raw)
  To: hagen; +Cc: netdev, vladislav.yasevich
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.
^ permalink raw reply	[flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-31  6:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31  0:24 [PATCH] sctp: eliminate useless code Hagen Paul Pfeifer
2010-03-31  6:57 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).