Duan Jiong 86fe8f8920 ipv6: remove useless spin_lock/spin_unlock
xchg is atomic, so there is no necessary to use spin_lock/spin_unlock
to protect it. At last, remove the redundant
opt = xchg(&inet6_sk(sk)->opt, opt); statement.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-12-09 13:18:09 -05:00
..
2014-09-30 14:00:48 -04:00
2014-11-26 12:27:04 -05:00
2014-05-23 16:28:53 -04:00
2014-11-05 23:52:33 -08:00
2014-05-23 16:28:53 -04:00