brcmfmac: call brcmf_detach() unconditional in sdio .remove() callback
authorArend van Spriel <arend@broadcom.com>
Tue, 27 May 2014 10:56:18 +0000 (12:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 May 2014 17:08:12 +0000 (13:08 -0400)
commit4faf28b7b471b97be35f29dade653d271c1951cc
treef24930b5e08c66f52354f3f99c25091e60445ece
parentdabedab98317e8915eefd8485921fb571b26cdd1
brcmfmac: call brcmf_detach() unconditional in sdio .remove() callback

The function brcmf_detach() checks whether it needs to do his stuff
or can return immediately. No need to have the same check in the
calling code.

Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c