Re: [PATCH] ipv6: exthdrs: use swap macro in ipv6_dest_hao

From: Gustavo A. R. Silva
Date: Sat Oct 28 2017 - 16:20:09 EST



Quoting David Miller <davem@xxxxxxxxxx>:

From: "Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx>
Date: Thu, 26 Oct 2017 23:10:35 -0500

make use of the swap macro and remove unnecessary variable tmp_addr.
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@xxxxxxxxxxxxxx>

Applied to net-next, thanks.

Glad to help.

Thanks
--
Gustavo A. R. Silva