aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/pxa27x_udc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/pxa27x_udc.c')
-rw-r--r--drivers/usb/gadget/pxa27x_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c
index bcf375ca3d72..caa37c95802c 100644
--- a/drivers/usb/gadget/pxa27x_udc.c
+++ b/drivers/usb/gadget/pxa27x_udc.c
@@ -650,7 +650,7 @@ pxa_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags)
650 struct pxa27x_request *req; 650 struct pxa27x_request *req;
651 651
652 req = kzalloc(sizeof *req, gfp_flags); 652 req = kzalloc(sizeof *req, gfp_flags);
653 if (!req || !_ep) 653 if (!req)
654 return NULL; 654 return NULL;
655 655
656 INIT_LIST_HEAD(&req->queue); 656 INIT_LIST_HEAD(&req->queue);