]> git.karo-electronics.de Git - linux-beck.git/commit
staging: brcm80211: remove NULL pointer checks before calling kfree
authorArend van Spriel <arend@broadcom.com>
Fri, 25 Feb 2011 15:39:23 +0000 (16:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 1 Mar 2011 02:19:56 +0000 (18:19 -0800)
commit7c0e45d7fb4ca3f9505b316598f4c2d748f3e8d0
tree3f6b2334dce513a5d2cd0a0e685b7cfa039e25d4
parent6cab915077bc3b54316ddf1e9c047df56eff556e
staging: brcm80211: remove NULL pointer checks before calling kfree

kfree function can handle NULL pointer as passed parameter so there
is no need for the calling function to check for this before calling
kfree.

Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/wlc_alloc.c
drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c
drivers/staging/brcm80211/brcmsmac/wlc_antsel.c
drivers/staging/brcm80211/brcmsmac/wlc_bmac.c
drivers/staging/brcm80211/brcmsmac/wlc_channel.c
drivers/staging/brcm80211/brcmsmac/wlc_phy_shim.c