Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353994
b: refs/heads/master
c: d1b46e7
h: refs/heads/master
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Jan 17, 2013
1 parent 34917f8 commit c9220b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 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: 8473f6544ec84135ce1f4eb8a3f7144a53fe70bb
refs/heads/master: d1b46e75fb307132ebbfdd65055bf622cc3f646e
12 changes: 3 additions & 9 deletions trunk/drivers/staging/vt6655/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -886,15 +886,9 @@ static inline PDEVICE_RD_INFO alloc_rd_info(void)
return kzalloc(sizeof(DEVICE_RD_INFO), GFP_ATOMIC);
}

static inline PDEVICE_TD_INFO alloc_td_info(void) {
PDEVICE_TD_INFO ptr;
ptr = (PDEVICE_TD_INFO)kmalloc((int)sizeof(DEVICE_TD_INFO), (int)GFP_ATOMIC);
if (ptr == NULL)
return NULL;
else {
memset(ptr,0,sizeof(DEVICE_TD_INFO));
return ptr;
}
static inline PDEVICE_TD_INFO alloc_td_info(void)
{
return kzalloc(sizeof(DEVICE_TD_INFO), GFP_ATOMIC);
}

/*--------------------- Export Functions --------------------------*/
Expand Down

0 comments on commit c9220b9

Please sign in to comment.