Peter Senna Tschudin 50bdb12388 usb/host/fotg210: Add function scan_frame_queue()
checkpatch complains about too many leading tabs because the if
statement starts after 6 tabs:

scan_iosoc() -> for() -> while() -> switch() -> if() -> for() -> if()

There is also a goto statement going backwards in case of failure. This
patch creates a new inline function named scan_frame_queue() containing
the last 4 nesting levels, and removes the need of backwards goto,
making the code easier to read. After the patch it becomes:

scan_iosoc() -> for() -> while() -> scan_frame_queue()

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-16 23:46:27 -07:00
..
2014-12-14 16:10:09 -08:00
2015-04-03 19:03:19 +02:00
2014-11-03 15:26:15 -08:00
2015-04-03 19:03:18 +02:00
2015-04-03 19:03:18 +02:00
2015-10-16 23:44:33 -07:00
2015-10-16 23:44:33 -07:00
2015-04-03 19:03:18 +02:00
2014-12-14 16:10:09 -08:00
2015-04-03 19:03:17 +02:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2015-01-25 21:01:13 +08:00
2015-06-08 14:26:22 -07:00