Re: [PATCH] netfilter: ipset: use swap macro instead of _manually_ swapping values

2017-11-06 Thread Jozsef Kadlecsik
Hi, On Mon, 30 Oct 2017, Gustavo A. R. Silva wrote: > 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 >

[PATCH] netfilter: ipset: use swap macro instead of _manually_ swapping values

2017-10-30 Thread Gustavo A. R. Silva
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 --- net/netfilter/ipset/ip_set_bitmap_ip.c| 8 ++--