diff options
author | Jason Andryuk <jandryuk@gmail.com> | 2020-03-16 13:46:07 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-17 09:05:33 +0100 |
commit | 2bcf4e9ff9a3f29b21e6d487d89264d191df5822 (patch) | |
tree | 02510b003ead66ec17637d662e664f04592c1f75 /linux-headers | |
parent | 61c265f0660ee476985808c8aa7915617c44fd53 (diff) | |
download | qemu-2bcf4e9ff9a3f29b21e6d487d89264d191df5822.zip qemu-2bcf4e9ff9a3f29b21e6d487d89264d191df5822.tar.gz qemu-2bcf4e9ff9a3f29b21e6d487d89264d191df5822.tar.bz2 |
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 <jandryuk@gmail.com>
Message-id: 20200316174610.115820-2-jandryuk@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions