usb: host: ehci-sched: refactor scan_isoc function
authorGeyslan G. Bem <geyslan@gmail.com>
Tue, 26 Jan 2016 01:45:10 +0000 (22:45 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 21:44:05 +0000 (13:44 -0800)
commit3f122a997eddd518ac480e658ab034cbc98deabe
treed808b516011fa0c49e97c7f8d1c862987ae13b25
parent93df42ba1b4fe5bc3157e4fbd15baf11b2129217
usb: host: ehci-sched: refactor scan_isoc function

This patch removes an infinite 'for' loop and makes use of the already
existing 'restart' tag instead, reducing one leading tab.

The comments and code were corrected conforming file coding style.

Tested by compilation only.
Caught by checkpatch:
 WARNING: Too many leading tabs - consider code refactoring

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-sched.c