diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2014-10-11 01:03:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-14 13:15:15 -0400 |
commit | 02ea80741a25435123e8a5ca40cac6a0bcf0c9f1 (patch) | |
tree | 91af059eb3e25f4bbdd7a148c0d0226e057e5549 /net/ipv6 | |
parent | e0ee9c12157dc74e49e4731e0d07512e7d1ceb95 (diff) |
ipv6: remove aca_lock spinlock from struct ifacaddr6
no user uses this lock.
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/anycast.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c index f5e319a8d4e2..baf2742d1ec4 100644 --- a/net/ipv6/anycast.c +++ b/net/ipv6/anycast.c | |||
@@ -235,7 +235,6 @@ static struct ifacaddr6 *aca_alloc(struct rt6_info *rt, | |||
235 | /* aca_tstamp should be updated upon changes */ | 235 | /* aca_tstamp should be updated upon changes */ |
236 | aca->aca_cstamp = aca->aca_tstamp = jiffies; | 236 | aca->aca_cstamp = aca->aca_tstamp = jiffies; |
237 | atomic_set(&aca->aca_refcnt, 1); | 237 | atomic_set(&aca->aca_refcnt, 1); |
238 | spin_lock_init(&aca->aca_lock); | ||
239 | 238 | ||
240 | return aca; | 239 | return aca; |
241 | } | 240 | } |