mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
![]() 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:
|
||
---|---|---|
.. | ||
Kconfig | ||
ks8842.c | ||
ks8851.h | ||
ks8851_common.c | ||
ks8851_par.c | ||
ks8851_spi.c | ||
ksz884x.c | ||
Makefile |