aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/goku_udc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/goku_udc.c')
-rw-r--r--drivers/usb/gadget/goku_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/goku_udc.c b/drivers/usb/gadget/goku_udc.c
index 52dd6cc6c0aa..c64deb9e3d62 100644
--- a/drivers/usb/gadget/goku_udc.c
+++ b/drivers/usb/gadget/goku_udc.c
@@ -772,7 +772,7 @@ goku_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags)
772 772
773 } /* else pio or dma irq handler advances the queue. */ 773 } /* else pio or dma irq handler advances the queue. */
774 774
775 if (likely(req != 0)) 775 if (likely(req != NULL))
776 list_add_tail(&req->queue, &ep->queue); 776 list_add_tail(&req->queue, &ep->queue);
777 777
778 if (likely(!list_empty(&ep->queue)) 778 if (likely(!list_empty(&ep->queue))