r8152: adjust r8152_submit_rx
authorhayeswang <hayeswang@realtek.com>
Thu, 20 Nov 2014 02:29:05 +0000 (10:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:52:57 +0000 (14:52 -0500)
The behavior of handling the returned status from r8152_submit_rx()
is almost same, so let r8152_submit_rx() deal with the error
directly. This could avoid the duplicate code.

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

No differences found