diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-12 21:43:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-16 22:35:47 +0200 |
commit | ae85467cccba9b255bd91b583effb17a5b57a12f (patch) | |
tree | a0d92ca10c367ff9f407262cae6d51905784bb77 /drivers/net/phy/realtek.c | |
parent | Merge branch 'phy-helpers' (diff) | |
download | linux-ae85467cccba9b255bd91b583effb17a5b57a12f.tar.xz linux-ae85467cccba9b255bd91b583effb17a5b57a12f.zip |
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>
Diffstat (limited to 'drivers/net/phy/realtek.c')
0 files changed, 0 insertions, 0 deletions