diff options
author | Gustavo A. R. Silva <[email protected]> | 2017-10-30 17:19:25 -0500 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2018-01-08 18:11:11 +0100 |
commit | c0453377518d8dd30dcc07b5bdd9e29512ca9aca (patch) | |
tree | 1b5a4caa0e6b7cd172d40e8030535a0b91fec2b4 /lib/mpi/mpiutil.c | |
parent | a3c90f7a2323b331ae816d5b0633e68148e25d04 (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 <[email protected]>
Signed-off-by: Jozsef Kadlecsik <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions