diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-04-13 21:33:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-13 21:33:17 -0700 |
commit | 9673693284763417ea5edcdebc1a0c5d1dead51c (patch) | |
tree | 72e0756f02f911432a52f31e10442b755f017a98 | |
parent | 6fb9114e4bc4b9144306bc2c64abd18b364409d7 (diff) | |
download | op-kernel-dev-9673693284763417ea5edcdebc1a0c5d1dead51c.zip op-kernel-dev-9673693284763417ea5edcdebc1a0c5d1dead51c.tar.gz |
[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>
-rw-r--r-- | net/tipc/socket.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 1b5fb610..d3f9c2d 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -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); |