[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180901.223113.1797049678988828770.davem@davemloft.net>
Date: Sat, 01 Sep 2018 22:31:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: f.fainelli@...il.com, andrew@...n.ch, colin.king@...onical.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: bgmac: remove set but not used variable
'err'
From: YueHaibing <yuehaibing@...wei.com>
Date: Sat, 1 Sep 2018 03:13:10 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/broadcom/bgmac.c: In function 'bgmac_dma_alloc':
> drivers/net/ethernet/broadcom/bgmac.c:619:6: warning:
> variable 'err' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists