diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-30 17:19:25 -0500 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-11-06 09:37:31 +0100 |
commit | e2a84a4a7bb8cdebfe4c0990b79179e2fd717a48 (patch) | |
tree | 8b58ef435617f5072aaf7ce94d6bcc3ee9fa615a /include/libipset/compat.h | |
parent | 99f04e60f5aec76c4ba6a4a0104ba2a5ae87e235 (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