Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -890,9 +890,8 @@ void brcmf_detach(struct device *dev)

	brcmf_bus_detach(drvr);

	if (drvr->prot) {
	if (drvr->prot)
		brcmf_proto_detach(drvr);
	}

	brcmf_debugfs_detach(drvr);
	bus_if->drvr = NULL;