From: Allan Stephens Date: Mon, 14 Apr 2008 04:33:17 +0000 (-0700) Subject: [TIPC]: Remove redundant socket wait queue initialization X-Git-Tag: v2.6.26-rc1~1138^2~122 X-Git-Url: http://ftp.safe.ca/?a=commitdiff_plain;h=9673693284763417ea5edcdebc1a0c5d1dead51c;p=safe%2Fjmp%2Flinux-2.6 [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 Signed-off-by: David S. Miller --- diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 1b5fb61..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);