diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2022-01-28 21:32:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-31 11:30:56 +0000 |
commit | 73c105ad2a3e142d81fc59761ce8353d0b211b8f (patch) | |
tree | 5fd499167ca8b5770bcfda9a932465f8ee5b4d43 /drivers/net/ethernet/realtek | |
parent | fe8930278c6b9bc1bcaa1736706465da8637ff6c (diff) | |
download | linux-73c105ad2a3e142d81fc59761ce8353d0b211b8f.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/realtek')
0 files changed, 0 insertions, 0 deletions