diff options
author | 2022-01-28 21:32:40 +0300 | |
---|---|---|
committer | 2022-01-31 11:30:56 +0000 | |
commit | 73c105ad2a3e142d81fc59761ce8353d0b211b8f (patch) | |
tree | 5fd499167ca8b5770bcfda9a932465f8ee5b4d43 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'dsa-mv88e6xxx-Improve-indirect-addressing-performance' (diff) | |
download | linux-dev-73c105ad2a3e142d81fc59761ce8353d0b211b8f.tar.xz linux-dev-73c105ad2a3e142d81fc59761ce8353d0b211b8f.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions