[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56878F52.5070308@broadcom.com>
Date: Sat, 2 Jan 2016 09:50:26 +0100
From: Arend van Spriel <arend@...adcom.com>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>,
<brcm80211-dev-list@...adcom.com>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
Brett Rudley <brudley@...adcom.com>,
"Franky (Zhenhui) Lin" <frankyl@...adcom.com>,
Hante Meuleman <meuleman@...adcom.com>,
Kalle Valo <kvalo@...eaurora.org>
CC: LKML <linux-kernel@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [PATCH] net-brcmfmac: Delete an unnecessary variable initialisation
in brcmf_sdio_download_firmware()
On 01/01/2016 08:26 PM, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Fri, 1 Jan 2016 20:20:15 +0100
I think it has been said over and over, but please use driver name only
as prefix. I don't see value to prepend it with 'net-'.
> Omit explicit initialisation at the beginning for one local variable
> that is redefined before its first use.
>
That being said here is my....
Acked-by: Arend van Spriel <arend@...adcom.com>
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
> ---
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
> index ceb2a75..c21eeb1 100644
> --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
> +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
> @@ -3260,7 +3260,7 @@ static int brcmf_sdio_download_firmware(struct brcmf_sdio *bus,
> const struct firmware *fw,
> void *nvram, u32 nvlen)
> {
> - int bcmerror = -EFAULT;
> + int bcmerror;
> u32 rstvec;
>
> sdio_claim_host(bus->sdiodev->func[1]);
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists