Staging: brcm80211: Remove unnecessary casts of void ptr returning alloc function...
commit3b785a8cfc6ac1bc837b0a1424056b6a4a1e544e
authorJesper Juhl <jj@chaosbits.net>
Mon, 8 Nov 2010 23:10:02 +0000 (9 00:10 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Nov 2010 23:44:15 +0000 (9 15:44 -0800)
treeaaa1dcafb86aea91d98ee53dc643f876d5fa3856
parentd4fcdc68564f49cbb4fdaf9b0ebfb5c3d02c81d3
Staging: brcm80211: Remove unnecessary casts of void ptr returning alloc function return values

The [vk][cmz]alloc(_node) family of functions return void pointers which
it's completely unnecessary/pointless to cast to other pointer types since
that happens implicitly.

This patch removes such casts from drivers/staging/brcm80211/

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Cc: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
drivers/staging/brcm80211/brcmfmac/wl_iw.c