]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: brcm80211: remove unnecessary null check
authorHenry Ptasinski <henryp@broadcom.com>
Wed, 29 Jun 2011 23:46:55 +0000 (16:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 16:57:14 +0000 (09:57 -0700)
commit521223a27a760658e04e65d8deaf5339070f15f6
treed9e06d3b65aacf84178f7a38af793d41020bdf52
parent202a208bd2888b6b72355bb1849f641606da928f
staging: brcm80211: remove unnecessary null check

kfree(NULL) is safe, and the rest of the cleanup should be done regardless
to make sure the state is consistent.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c