diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-12 06:41:39 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 03:03:27 -0500 |
commit | dc4c2c31053ba5bf685d273cd62ecca406dddb2d (patch) | |
tree | c74ac486ee668eec2a24d9a4191a855fb0eed8af /net/sctp/bind_addr.c | |
parent | f6ca057f1bfe251d944505fc5ba4df3762802539 (diff) |
net: remove INIT_RCU_HEAD() usage
call_rcu() will unconditionally reinitialize RCU head anyway.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/bind_addr.c')
-rw-r--r-- | net/sctp/bind_addr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/bind_addr.c b/net/sctp/bind_addr.c index 13a6fba41077..bef133731683 100644 --- a/net/sctp/bind_addr.c +++ b/net/sctp/bind_addr.c | |||
@@ -186,7 +186,6 @@ int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new, | |||
186 | addr->valid = 1; | 186 | addr->valid = 1; |
187 | 187 | ||
188 | INIT_LIST_HEAD(&addr->list); | 188 | INIT_LIST_HEAD(&addr->list); |
189 | INIT_RCU_HEAD(&addr->rcu); | ||
190 | 189 | ||
191 | /* We always hold a socket lock when calling this function, | 190 | /* We always hold a socket lock when calling this function, |
192 | * and that acts as a writer synchronizing lock. | 191 | * and that acts as a writer synchronizing lock. |