Re: [PATCH] net: decnet: dn_nsp_in: use swap macro in dn_nsp_rx_packet

2017-10-31 Thread David Miller
From: "Gustavo A. R. Silva" Date: Sat, 28 Oct 2017 14:38:45 -0500 > Make use of the swap macro and remove unnecessary variable tmp. > This makes the code easier to read and maintain. > > This code was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A.

[PATCH] net: decnet: dn_nsp_in: use swap macro in dn_nsp_rx_packet

2017-10-28 Thread Gustavo A. R. Silva
Make use of the swap macro and remove unnecessary variable 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/decnet/dn_nsp_in.c | 8 ++-- 1 file changed, 2