Re: [PATCH v2 01/10] usb: host: ehci-sched: refactor scan_isoc function

2015-12-13 Thread Geyslan G. Bem
2015-12-13 12:29 GMT-03:00 Alan Stern : > On Sun, 13 Dec 2015, Geyslan G. Bem wrote: > >> This patch removes an infinite 'for' loop and makes use of the already >> existing 'restart' tag instead, reducing one leading tab. >> >> It also puts the easier evaluation (live variable) to be the first in >

Re: [PATCH v2 01/10] usb: host: ehci-sched: refactor scan_isoc function

2015-12-13 Thread Alan Stern
On Sun, 13 Dec 2015, Geyslan G. Bem wrote: > This patch removes an infinite 'for' loop and makes use of the already > existing 'restart' tag instead, reducing one leading tab. > > It also puts the easier evaluation (live variable) to be the first in > two conditionals. > > if (live && frame ==

[PATCH v2 01/10] usb: host: ehci-sched: refactor scan_isoc function

2015-12-12 Thread Geyslan G. Bem
This patch removes an infinite 'for' loop and makes use of the already existing 'restart' tag instead, reducing one leading tab. It also puts the easier evaluation (live variable) to be the first in two conditionals. if (live && frame == now_frame) { ... if (live && ((frame == now_frame) ||