commit | 129575f2a8958a1e90780b0d5b80702bb45b5aac | [log] [tgz] |
---|---|---|
author | Ben Chan <benchan@chromium.org> | Wed Sep 12 11:43:41 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 13 20:15:41 2012 -0700 |
tree | e79b0a0f7f5cd7c6051893cc08bfc1c7d2816a74 | |
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>