netfilter: xt_LOG: don't use xchg() for simple assignment
authorJan Beulich <JBeulich@suse.com>
Wed, 7 Mar 2012 23:45:44 +0000 (23:45 +0000)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 28 Feb 2016 01:55:13 +0000 (03:55 +0200)
commit75faafd41c3c6312b7df51ce8cda5ba84495a8f1
tree867bd30452ad7e1e56ab6466b0c16ce4fc897e1d
parentbf79e89ad51e35bdeac78cc882648b9b8faae716
netfilter: xt_LOG: don't use xchg() for simple assignment

At least on ia64 the (bogus) use of xchg() here results in the compiler
warning about an unused expression result. As only an assignment is
intended here, convert it to such.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/xt_log.h