usb: misc: refactor code
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 4 Apr 2017 03:51:54 +0000 (22:51 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 10:04:42 +0000 (12:04 +0200)
commit65c7843c942d0990e8b5f40aa4fdc755bbc15034
tree18394438eedf9ad817844c2d22df5a223f7441a4
parent2c930e3d0aed1505e86e0928d323df5027817740
usb: misc: refactor code

Code refactoring to make the flow easier to follow.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usbtest.c