Re: [PATCH] mISDN: l1oip_core: replace _manual_ swap with swap macro

2017-11-05 Thread David Miller
From: "Gustavo A. R. Silva" Date: Fri, 3 Nov 2017 11:52:45 -0500 > Make use of the swap macro and remove unnecessary variables skb and cnt. > 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] mISDN: l1oip_core: replace _manual_ swap with swap macro

2017-11-03 Thread Gustavo A. R. Silva
Make use of the swap macro and remove unnecessary variables skb and cnt. 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 --- drivers/isdn/mISDN/l1oip_core.c | 10 ++ 1 file changed, 2 insertions(+),