Re: [PATCH net-next v2] net: natsemi: Remove set but not used variable
From: David Miller
Date: Mon Sep 21 2020 - 17:54:26 EST
From: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
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@xxxxxxxxxx>
Applied.