]> Git Repo - qemu.git/commit
usb-serial: Move USB_TOKEN_IN into a helper function
authorJason Andryuk <[email protected]>
Mon, 16 Mar 2020 17:46:07 +0000 (13:46 -0400)
committerGerd Hoffmann <[email protected]>
Tue, 17 Mar 2020 08:05:33 +0000 (09:05 +0100)
commit2bcf4e9ff9a3f29b21e6d487d89264d191df5822
tree02510b003ead66ec17637d662e664f04592c1f75
parent61c265f0660ee476985808c8aa7915617c44fd53
usb-serial: Move USB_TOKEN_IN into a helper function

We'll be adding a loop, so move the code into a helper function.  breaks
are replaced with returns.  While making this change, add braces to
single line if statements to comply with coding style and keep
checkpatch happy.

Signed-off-by: Jason Andryuk <[email protected]>
Message-id: 20200316174610[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/dev-serial.c
This page took 0.020461 seconds and 4 git commands to generate.