OpenCloudOS-Kernel/drivers/net/ethernet/natsemi
Zheng Yongjun 3ba6baf64b 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>
2020-09-21 14:54:00 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile ethernet: natsemi: correct spelling 2018-03-06 11:14:08 -05:00
jazzsonic.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
macsonic.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
natsemi.c natsemi: switch from 'pci_' to 'dma_' API 2020-09-13 14:15:15 -07:00
ns83820.c net: natsemi: Remove set but not used variable 2020-09-21 14:54:00 -07:00
sonic.c net/sonic: Start packet transmission immediately 2020-02-16 19:48:22 -08:00
sonic.h net/sonic: Remove redundant next_tx variable 2020-02-16 19:48:22 -08:00
xtsonic.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00