net: natsemi: Remove set but not used variable
authorZheng Yongjun <zhengyongjun3@huawei.com>
Mon, 21 Sep 2020 12:18:41 +0000 (20:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 21:54:00 +0000 (14:54 -0700)
commit3ba6baf64b9a967d731b9c93e3dcd64bd82db83d
tree72702bd7c00bb75b8e99515606fc78465e6c891b
parentc8c33b80f4e83d3e29623fb08d935fa152f6a3db
net: natsemi: Remove set but not used variable

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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/natsemi/ns83820.c