projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb9114
)
[TIPC]: Remove redundant socket wait queue initialization
author
Allan Stephens
<allan.stephens@windriver.com>
Mon, 14 Apr 2008 04:33:17 +0000
(21:33 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 14 Apr 2008 04:33:17 +0000
(21:33 -0700)
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>
net/tipc/socket.c
patch
|
blob
|
history
diff --git
a/net/tipc/socket.c
b/net/tipc/socket.c
index 1b5fb6103dede4b9a8c9a16e0ebee9947125b394..d3f9c2d87b0dd7b4535e9c3c8d917ea1907af5aa 100644
(file)
--- 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);