summaryrefslogtreecommitdiff
path: root/ipc/namespace.c
diff options
context:
space:
mode:
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>2014-12-03 05:29:40 +0300
committerDavid S. Miller <davem@davemloft.net>2014-12-09 21:18:09 +0300
commit86fe8f892013228eef324c42e77c6b54b0bbc6dd (patch)
treedd1cd91cf0f9279cba9b21322cf0f46ad8171306 /ipc/namespace.c
parent54ceb9ec6fe8e64067b164e6b161dd63905c059f (diff)
downloadlinux-86fe8f892013228eef324c42e77c6b54b0bbc6dd.tar.xz
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>
Diffstat (limited to 'ipc/namespace.c')
0 files changed, 0 insertions, 0 deletions