Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151372
b: refs/heads/master
c: 1e0abb7
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Mack authored and Greg Kroah-Hartman committed Jun 16, 2009
1 parent 1a7520e commit 2a3aa6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5512966643adb17483efc5f61481a38fc33088bb
refs/heads/master: 1e0abb7e1844a7cb499321a94d5d04347ef86d68
7 changes: 5 additions & 2 deletions trunk/drivers/usb/gadget/imx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,9 +734,12 @@ static struct usb_request *imx_ep_alloc_request
{
struct imx_request *req;

if (!usb_ep)
return NULL;

req = kzalloc(sizeof *req, gfp_flags);
if (!req || !usb_ep)
return 0;
if (!req)
return NULL;

INIT_LIST_HEAD(&req->queue);
req->in_use = 0;
Expand Down

0 comments on commit 2a3aa6f

Please sign in to comment.