aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorRussell King <[email protected]>2019-12-17 13:39:26 +0000
committerDavid S. Miller <[email protected]>2019-12-19 12:52:34 -0800
commit98f92831c561e43e8d4dafa7165e996af4dc8ac3 (patch)
treeab93911107650e26b0ac00a4c23696eb310e5856 /tools/perf/scripts/python/net_dropmonitor.py
parentfcf1f59afc67dc8c214a1b085527ed1fc513c3a2 (diff)
net: phy: marvell: initialise link partner state earlier
Move the initialisation of the link partner state earlier, inside marvell_read_status_page(), so we don't have the same initialisation scattered amongst the other files. This is in a similar place to the genphy implementation, so would result in the same behaviour if a PHY read error occurs. This allows us to get rid of marvell_read_status_page_fixed(), which became a pointless wrapper around genphy_read_status_fixed(). Signed-off-by: Russell King <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions