[PATCH v2 5/5] xhci: Remove recursive call to xhci_handle_event

David Laight David.Laight at ACULAB.COM
Wed Mar 30 18:51:25 EST 2011


 
> > -	xhci_handle_event(xhci);
> > +	while (xhci_handle_event(xhci)) {}
> > 
> 
> I must admit I dislike the style with empty loop bodies...

I would use an explicit 'continue;' for the body
of an otherwise empty loop.

	David




More information about the Linuxppc-dev mailing list