staging: brcm80211: flatten wlc_phy_shared_detach()
authorHenry Ptasinski <henryp@broadcom.com>
Wed, 29 Jun 2011 23:46:54 +0000 (16:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 16:57:13 +0000 (09:57 -0700)
commit202a208bd2888b6b72355bb1849f641606da928f
tree615836f1b1422ed467f7c48538987726160e795d
parentaa51bffb6382ef13d3e61035b3b2c2a1619a21ea
staging: brcm80211: flatten wlc_phy_shared_detach()

wlc_phy_shared_detach() is an unnecessary level of indirection to just
call kfree(), so replace the function with kfree().

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/bmac.c
drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c
drivers/staging/brcm80211/brcmsmac/phy/phy_hal.h