projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8379d07
)
sctp: eliminate useless code
author
Hagen Paul Pfeifer
<hagen@jauu.net>
Tue, 30 Mar 2010 14:24:57 +0000
(14:24 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 31 Mar 2010 06:58:22 +0000
(23:58 -0700)
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>
net/sctp/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sctp/socket.c
b/net/sctp/socket.c
index dfc5c127efd47d5cfca1a5541d3e91dff898c1b3..d80ee3a2f110bb5d6b6452d297d6a7819236135a 100644
(file)
--- 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 &&