r8152: adjust tx_bottom function
authorhayeswang <hayeswang@realtek.com>
Fri, 16 Aug 2013 08:09:37 +0000 (16:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 07:08:22 +0000 (00:08 -0700)
commitb1379d9a20167c41b682e96841b34aab32ec50a5
treee8e6f0cb11f84fbdfd916456b84b684173ba98f1
parent43a4478d65ffaa1c2def8ffceafbc3a3f1e99b82
r8152: adjust tx_bottom function

Split some parts of code into another function to simplify
tx_bottom(). Use while loop to replace the goto loop.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c