staging: brcm80211: optimize kmalloc to kzalloc
commit12d0eb47ddd20cf8f1e8d768b0f8f81984902a60
authorAlexander Beregalov <a.beregalov@gmail.com>
Wed, 9 Mar 2011 00:53:35 +0000 (9 03:53 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Mar 2011 23:54:31 +0000 (9 15:54 -0800)
tree5018773ab211b94b31f310aedee6d2adc56984e2
parentf4a0e6b1354cd0bec6aca405883cc45662511f03
staging: brcm80211: optimize kmalloc to kzalloc

Use kzalloc rather than kmalloc followed by memset with 0.
Found by coccinelle.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_linux.c
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
drivers/staging/brcm80211/brcmfmac/wl_iw.c
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c