linux/drivers/net/ethernet/micrel
Nathan Chancellor 819fb78f69 net: ks8851: Make ks8851_read_selftest() return void
clang points out that ret in ks8851_read_selftest() is set but unused:

drivers/net/ethernet/micrel/ks8851_common.c:1028:6: warning: variable
'ret' set but not used [-Wunused-but-set-variable]
        int ret = 0;
            ^
1 warning generated.

The return code of this function has never been checked so just remove
ret and make the function return void.

Fixes: 3ba81f3ece ("net: Micrel KS8851 SPI network driver")
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-03 15:27:37 -07:00
..
Kconfig net: ks8851: Select PHYLIB and MICREL_PHY in Kconfig 2021-01-12 18:42:36 -08: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: Register MDIO bus and the internal PHY 2021-01-05 17:05:11 -08:00
ks8851_common.c net: ks8851: Make ks8851_read_selftest() return void 2021-06-03 15:27:37 -07:00
ks8851_par.c net: ks8851: remove definition of DEBUG 2021-01-15 17:53:29 -08:00
ks8851_spi.c net: ks8851: remove definition of DEBUG 2021-01-15 17:53:29 -08:00
ksz884x.c net: micrel: Fix wrong function name in comments 2021-05-17 14:12:38 -07:00
Makefile net: ks8851: Implement Parallel bus operations 2020-05-28 16:30:04 -07:00