linux/drivers/net/ethernet/renesas
Sergey Shtylyov 73c105ad2a phy: make phy_set_max_speed() *void*
After following the call tree of phy_set_max_speed(), it became clear
that this function never returns anything but 0, so we can change its
result type to *void* and drop the result checks from the three drivers
that actually bothered to do it...

Found by Linux Verification Center (linuxtesting.org) with the SVACE static
analysis tool.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-31 11:30:56 +00:00
..
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile
ravb.h ravb: Update ravb_emac_init_gbeth() 2021-10-13 09:08:57 -07:00
ravb_main.c phy: make phy_set_max_speed() *void* 2022-01-31 11:30:56 +00:00
ravb_ptp.c ravb: Add multi_irq to struct ravb_hw_info 2021-08-25 11:18:16 +01:00
sh_eth.c phy: make phy_set_max_speed() *void* 2022-01-31 11:30:56 +00:00
sh_eth.h