[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200921.145422.1591767190368974647.davem@davemloft.net>
Date: Mon, 21 Sep 2020 14:54:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhengyongjun3@...wei.com
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] net: natsemi: Remove set but not used
variable
From: Zheng Yongjun <zhengyongjun3@...wei.com>
Date: Mon, 21 Sep 2020 20:18:41 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/natsemi/ns83820.c: In function ns83820_get_link_ksettings:
> drivers/net/ethernet/natsemi/ns83820.c:1210:11: warning: variable ‘tanar’ set but not used [-Wunused-but-set-variable]
>
> `tanar` is never used, so remove it.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
Applied.
Powered by blists - more mailing lists