commit | ae85467cccba9b255bd91b583effb17a5b57a12f | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Thu Jul 12 14:43:20 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 16 13:35:47 2018 -0700 |
tree | a0d92ca10c367ff9f407262cae6d51905784bb77 | |
parent | 2a6deb6a572e7b1c34ac8ab662346124c3c4d046 [diff] |
net: usb: hso: use swap macro in hso_kick_transmit Make use of the swap macro and remove unnecessary variable *temp*. This makes the code easier to read and maintain. Also, slightly refactor some code due to the removal of *temp*. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>