From: Duan Jiong Date: Wed, 3 Dec 2014 02:29:40 +0000 (+0800) Subject: ipv6: remove useless spin_lock/spin_unlock X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86fe8f892013228eef324c42e77c6b54b0bbc6dd;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed