Skip to content

Commit

Permalink
sctp: eliminate useless code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hagen Paul Pfeifer authored and David S. Miller committed Mar 31, 2010
1 parent 8379d07 commit b68c924
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/sctp/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -5481,7 +5481,6 @@ static long sctp_get_port_local(struct sock *sk, union sctp_addr *addr)
*/
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 &&
Expand Down

0 comments on commit b68c924

Please sign in to comment.