]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mISDN: l1oip_core: replace _manual_ swap with swap macro
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Fri, 3 Nov 2017 16:52:45 +0000 (11:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Nov 2017 13:24:15 +0000 (22:24 +0900)
commit28e8c1914a20d020893978b67a6d2c618756bc3f
tree54ff3a1ec770b8913db4c8571ba91b93ba5ca4e4
parent9525d69a36672f9505006b461fb5f7e8f580dfdd
mISDN: l1oip_core: replace _manual_ swap with swap macro

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 <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/l1oip_core.c