staging: gdm72xx: simplify alloc_tx_struct and alloc_rx_struct
authorBen Chan <benchan@chromium.org>
Wed, 12 Sep 2012 18:43:41 +0000 (11:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 03:15:41 +0000 (20:15 -0700)
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>

No differences found