diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-24 13:32:16 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2012-10-11 21:44:18 -0500 |
commit | 2747a3eee3d679bdffd35dc5bfa970fd80c4969e (patch) | |
tree | 16ab19c67823e341049761054e7e59e5aa6a2438 /hw/usb/dev-uas.c | |
parent | aa69dd05ce1a0cece7a1462807b3c4841f1ba01e (diff) |
net: clean up usbnet_receive()
The USB network interface has two code paths depending on whether or not
RNDIS mode is enabled. Refactor usbnet_receive() so that there is a
common path throughout the function instead of duplicating everything
across if (is_rndis(s)) ... else ... code paths.
Clean up coding style and 80 character line wrap along the way.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
(cherry picked from commit f237ddbb89142c6948a2257c459e49dee7500a7c)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/usb/dev-uas.c')
0 files changed, 0 insertions, 0 deletions