linux/drivers/net/ethernet/micrel
Zheng Yongjun bf2977ae01 net: micrel: Remove set but not used variable
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/micrel/ksz884x.c: In function rx_proc:
drivers/net/ethernet/micrel/ksz884x.c:4981:6: warning: variable ‘rx_status’ set but not used [-Wunused-but-set-variable]

drivers/net/ethernet/micrel/ksz884x.c: In function netdev_get_ethtool_stats:
drivers/net/ethernet/micrel/ksz884x.c:6512:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]

these variable 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-19 14:13:57 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile net: ks8851: Implement Parallel bus operations 2020-05-28 16:30:04 -07:00
ks8842.c net: micrel: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
ks8851.h net: ks8851: Separate SPI operations into separate file 2020-05-28 16:30:04 -07:00
ks8851_common.c net: ks8851: Separate SPI operations into separate file 2020-05-28 16:30:04 -07:00
ks8851_par.c net: ks8851: Implement Parallel bus operations 2020-05-28 16:30:04 -07:00
ks8851_spi.c net: ks8851: Separate SPI operations into separate file 2020-05-28 16:30:04 -07:00
ksz884x.c net: micrel: Remove set but not used variable 2020-09-19 14:13:57 -07:00