summaryrefslogtreecommitdiffstats
path: root/include/libipset/compat.h
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-30 17:19:25 -0500
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2017-11-06 09:37:31 +0100
commite2a84a4a7bb8cdebfe4c0990b79179e2fd717a48 (patch)
tree8b58ef435617f5072aaf7ce94d6bcc3ee9fa615a /include/libipset/compat.h
parent99f04e60f5aec76c4ba6a4a0104ba2a5ae87e235 (diff)
netfilter: ipset: use swap macro instead of _manually_ swapping values
Make use of the swap macro and remove unnecessary variables tmp. This makes the code easier to read and maintain. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'include/libipset/compat.h')
0 files changed, 0 insertions, 0 deletions