ipv6: remove aca_lock spinlock from struct ifacaddr6
Subsystems (3)
PATCH 1/1 ipv6: remove aca_lock spinlock from struct ifacaddr6
From: Li RongQing <[email protected]>
no user uses this lock.
Signed-off-by Li RongQing <[email protected]>
--- include/net/if_inet6.h | 1 - net/ipv6/anycast.c | 1 - 2 files changed, 2 deletions(-)
include/net/if_inet6.h +0 -1
@@ -146,7 +146,6 @@ struct ifacaddr6 {struct ifacaddr6 *aca_next;int aca_users;atomic_t aca_refcnt; -spinlock_t aca_lock;unsigned long aca_cstamp;unsigned long aca_tstamp; };
net/ipv6/anycast.c +0 -1
@@ -235,7 +235,6 @@ static struct ifacaddr6 *aca_alloc(struct rt6_info *rt,/* aca_tstamp should be updated upon changes */ aca->aca_cstamp = aca->aca_tstamp = jiffies;atomic_set (&aca->aca_refcnt,1 ); -spin_lock_init (&aca->aca_lock);return aca; }
Signature · 1 line
1.7.10.4
From: [email protected]
Date: Sat, 11 Oct 2014 13:03:34 +0800
Quoted 5 lines
From: Li RongQing <[email protected]>
no user uses this lock.
Signed-off-by Li RongQing <[email protected]>
Applied, thanks.