[TIPC]: Remove redundant socket wait queue initialization

This patch eliminates re-initialization of the standard socket
wait queue used for sleeping in TIPC's socket creation code.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Allan Stephens 2008-04-13 21:33:17 -07:00 committed by David S. Miller
parent 6fb9114e4b
commit 9673693284
1 changed files with 0 additions and 1 deletions

View File

@ -170,7 +170,6 @@ static int tipc_create(struct net *net, struct socket *sock, int protocol)
}
sock_init_data(sock, sk);
init_waitqueue_head(sk->sk_sleep);
sk->sk_rcvtimeo = 8 * HZ; /* default connect timeout = 8s */
tsock = tipc_sk(sk);