aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorRussell King <[email protected]>2019-12-17 13:39:36 +0000
committerDavid S. Miller <[email protected]>2019-12-19 12:52:34 -0800
commitd2004e27eb352a5961cae7cc50563dbdc5386ba7 (patch)
treeacd52e665ac63ab483a98f6b70f2d5f8f4ba4fb5 /tools/perf/scripts/python/intel-pt-events.py
parent760fa78f3509d3d414804c4017de3d0dba995081 (diff)
net: phy: marvell: consolidate phy status reading
marvell_read_status_page_an() always reads the PHY status register, but marvell_update_link() has already done this. Rather than wastefully reading the register twice in quick succession, read it once in marvell_read_status_page() and use the result for both. This makes marvell_update_link() rather pointless, so move it into marvell_read_status_page(). Signed-off-by: Russell King <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions