Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325223
b: refs/heads/master
c: 47ad342
h: refs/heads/master
i:
  325221: cbacc19
  325219: 60a0b5f
  325215: fe98d3b
v: v3
  • Loading branch information
Peter Senna Tschudin authored and Greg Kroah-Hartman committed Sep 12, 2012
1 parent c702979 commit 442dcce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 2e464f00687931eeeab95c90e3796609d0c8ce4c
refs/heads/master: 47ad3428a1086af425447f763705e06b16ae905d
7 changes: 2 additions & 5 deletions trunk/drivers/staging/gdm72xx/gdm_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,14 @@ static struct sdio_rx *alloc_rx_struct(struct rx_cxt *rx)
struct sdio_rx *r = NULL;

r = kmalloc(sizeof(*r), GFP_ATOMIC);
if (r == NULL)
goto out;
if (!r)
return NULL;

memset(r, 0, sizeof(*r));

r->rx_cxt = rx;

return r;
out:
kfree(r);
return NULL;
}

static void free_rx_struct(struct sdio_rx *r)
Expand Down

0 comments on commit 442dcce

Please sign in to comment.