Skip to content
Snippets Groups Projects
Commit 2bcf4e9f authored by Jason Andryuk's avatar Jason Andryuk Committed by Gerd Hoffmann
Browse files

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: default avatarJason Andryuk <jandryuk@gmail.com>
Message-id: 20200316174610.115820-2-jandryuk@gmail.com
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 61c265f0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment