commit | a0fccd4860cbd2f88f1fa577af2aca33f399c9d7 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Thu Nov 20 10:29:05 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 21 14:52:57 2014 -0500 |
tree | 828b349c18515fa3de5ee8c61def8c69fae8919e | |
parent | f869c912869edc2754355af9e10e5aaff8ff5a40 [diff] |
r8152: adjust r8152_submit_rx 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>