Re: [PATCH] net: decnet: dn_nsp_out: use swap macro in dn_mk_ack_header

2017-10-31 Thread David Miller
From: "Gustavo A. R. Silva" Date: Sat, 28 Oct 2017 15:39:48 -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. R. Silva Applied.

[PATCH] net: decnet: dn_nsp_out: use swap macro in dn_mk_ack_header

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_out.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff