aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/dev-serial.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-08-24 13:32:16 +0100
committerStefan Hajnoczi <stefanha@gmail.com>2012-09-14 08:40:32 +0100
commitf237ddbb89142c6948a2257c459e49dee7500a7c (patch)
tree8aa249c6d5ab2127f3e2d3d59508e3f4fb9d104c /hw/usb/dev-serial.c
parent08d12022c7f1aba6acccc75150659c6e4c9dff23 (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>
Diffstat (limited to 'hw/usb/dev-serial.c')
0 files changed, 0 insertions, 0 deletions