mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 10:01:25 +00:00
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: Markus Elfring <elfring@users.sourceforge.net> Acked-by: Arend van Spriel <arend@broadcom.com> [Rewrote commit message] Signed-off-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
cfbfbd1369
commit
9e12904a95
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue