Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202731
b: refs/heads/master
c: 6ac478c
h: refs/heads/master
i:
  202729: e682cee
  202727: e717d3b
v: v3
  • Loading branch information
Julia Lawall authored and John W. Linville committed Jun 2, 2010
1 parent f4e6507 commit 0c9d688
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 08578b8f16ca551499c54f2cd229df3e58c8f381
refs/heads/master: 6ac478cf05662911242957e8f765c623be23cf2a
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/orinoco/orinoco_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,10 @@ static struct request_context *ezusb_alloc_ctx(struct ezusb_priv *upriv,
{
struct request_context *ctx;

ctx = kmalloc(sizeof(*ctx), GFP_ATOMIC);
ctx = kzalloc(sizeof(*ctx), GFP_ATOMIC);
if (!ctx)
return NULL;

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

ctx->buf = kmalloc(BULK_BUF_SIZE, GFP_ATOMIC);
if (!ctx->buf) {
kfree(ctx);
Expand Down

0 comments on commit 0c9d688

Please sign in to comment.