r8152: adjust some duplicated code
authorhayeswang <hayeswang@realtek.com>
Fri, 16 Aug 2013 08:09:35 +0000 (16:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 07:08:21 +0000 (00:08 -0700)
commit0de98f6c6fb63395a653f58b53663ce6c565a1e6
tree7106d12473194e8c5934e6b8a8da3d53c6c2dfe0
parenta5a4f468e3b467457b27851152671058b95b71bb
r8152: adjust some duplicated code

- Use r8152_get_tx_agg for getting tx agg list
- Replace submit rx with goto submit

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