diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-12 12:41:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 09:03:27 +0100 |
commit | dc4c2c31053ba5bf685d273cd62ecca406dddb2d (patch) | |
tree | c74ac486ee668eec2a24d9a4191a855fb0eed8af /net/ipv6/sit.c | |
parent | b44: Ratelimit timeout error message. (diff) | |
download | linux-dc4c2c31053ba5bf685d273cd62ecca406dddb2d.tar.xz 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/ipv6/sit.c')
-rw-r--r-- | net/ipv6/sit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index 52ffd29cb93f..96eb2d4641c4 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c @@ -363,7 +363,6 @@ ipip6_tunnel_add_prl(struct ip_tunnel *t, struct ip_tunnel_prl *a, int chg) goto out; } - INIT_RCU_HEAD(&p->rcu_head); p->next = t->prl; p->addr = a->addr; p->flags = a->flags; |