Commit b84e3112 authored by Arend van Spriel's avatar Arend van Spriel Committed by John W. Linville

brcmfmac: remove unnecessary curly braces in dhd_attach()

Stumbled into a curly braces used for if statement with only
one conditional statement. Removing them.
Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: default avatarHante Meuleman <meuleman@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 12b33dac
...@@ -890,9 +890,8 @@ void brcmf_detach(struct device *dev) ...@@ -890,9 +890,8 @@ void brcmf_detach(struct device *dev)
brcmf_bus_detach(drvr); brcmf_bus_detach(drvr);
if (drvr->prot) { if (drvr->prot)
brcmf_proto_detach(drvr); brcmf_proto_detach(drvr);
}
brcmf_debugfs_detach(drvr); brcmf_debugfs_detach(drvr);
bus_if->drvr = NULL; bus_if->drvr = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment