diff options
Diffstat (limited to 'drivers/usb/gadget/pxa27x_udc.c')
-rw-r--r-- | drivers/usb/gadget/pxa27x_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index bcf375ca3d7..caa37c95802 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); |