From 86fe8f892013228eef324c42e77c6b54b0bbc6dd Mon Sep 17 00:00:00 2001 From: Duan Jiong Date: Wed, 3 Dec 2014 10:29:40 +0800 Subject: [PATCH] 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-format-patch failed