Re: [PATCH 4/5] usb: xhci: Shorten the TD skipping loop

Mathias Nyman <[email protected]> Wed, 5 Aug 2026 20:14:31 +0300
Newsgroups org.kernel.vger.linux-usb,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/4/26 13:04, Michal Pecio wrote:
> Half of this loop is code which only executes once to deal with cases
> where no TD matches the event and then it returns. This code needs not
> to be in any kind of loop, so get it out.
> 
> Optimize conditionals remaining in the loop body.
> 
> Signed-off-by: Michal Pecio <[email protected]>

Much needed refactoring

Thanks
-Mathias