diff options
author | Ben Chan <benchan@chromium.org> | 2012-09-12 11:43:41 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-13 20:15:41 -0700 |
commit | 129575f2a8958a1e90780b0d5b80702bb45b5aac (patch) | |
tree | e79b0a0f7f5cd7c6051893cc08bfc1c7d2816a74 /drivers/staging/keucr/smilecc.c | |
parent | b37c1aeed89062a82da9bf78c83db0328d08e95d (diff) |
staging: gdm72xx: simplify alloc_tx_struct and alloc_rx_struct
This patch simplifies alloc_tx_struct and alloc_rx_struct in gdm_sdio.c
and gdm_usb.c by replacing kmalloc+memset with kzalloc and reorganizing
the code.
Signed-off-by: Ben Chan <benchan@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/keucr/smilecc.c')
0 files changed, 0 insertions, 0 deletions