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

Commit 9e12904a authored by Markus Elfring's avatar Markus Elfring Committed by Kalle Valo
Browse files

brcmfmac: Delete unnecessary variable initialisation



In brcmf_sdio_download_firmware(), bcmerror is set by the call to
brcmf_sdio_download_code_file(), before it's checked in the following
line.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Acked-by: default avatarArend van Spriel <arend@broadcom.com>
[Rewrote commit message]
Signed-off-by: default avatarJulian Calaby <julian.calaby@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent cfbfbd13
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3258,7 +3258,7 @@ static int brcmf_sdio_download_firmware(struct brcmf_sdio *bus,
					const struct firmware *fw,
					const struct firmware *fw,
					void *nvram, u32 nvlen)
					void *nvram, u32 nvlen)
{
{
	int bcmerror = -EFAULT;
	int bcmerror;
	u32 rstvec;
	u32 rstvec;


	sdio_claim_host(bus->sdiodev->func[1]);
	sdio_claim_host(bus->sdiodev->func[1]);