usb: dwc3: ep0: split the special cases on ep0_queue
authorFelipe Balbi <balbi@ti.com>
Thu, 19 Jul 2012 05:51:13 +0000 (08:51 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 3 Aug 2012 06:28:24 +0000 (09:28 +0300)
commitd9b33c605c398df1d42c694bda28fe8708754c64
treecb695c31b991cebd475c8d9e75cbaa3bdfd87a2b
parent35f75696649d43aee8031d81783322b0708805b5
usb: dwc3: ep0: split the special cases on ep0_queue

We can return early from each if () branch
and split the special cases for clarity. While
at that also add a comment to the delayed_status
case.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c