diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-12 11:41:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 00:03:27 -0800 |
commit | dc4c2c31053ba5bf685d273cd62ecca406dddb2d (patch) | |
tree | c74ac486ee668eec2a24d9a4191a855fb0eed8af /net/sctp/ipv6.c | |
parent | f6ca057f1bfe251d944505fc5ba4df3762802539 (diff) | |
download | blackbird-op-linux-dc4c2c31053ba5bf685d273cd62ecca406dddb2d.tar.gz blackbird-op-linux-dc4c2c31053ba5bf685d273cd62ecca406dddb2d.zip |
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/ipv6.c')
-rw-r--r-- | net/sctp/ipv6.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index cc50fbe99291..1d7ac70ba39f 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c @@ -381,7 +381,6 @@ static void sctp_v6_copy_addrlist(struct list_head *addrlist, addr->a.v6.sin6_scope_id = dev->ifindex; addr->valid = 1; INIT_LIST_HEAD(&addr->list); - INIT_RCU_HEAD(&addr->rcu); list_add_tail(&addr->list, addrlist); } } |