diff options
author | Russell King (Oracle) <[email protected]> | 2024-10-04 11:21:12 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-10-09 12:13:11 +0100 |
commit | 7921d3e602fc89a36dbef5b46d307bed47396409 (patch) | |
tree | 64d6cab69d1d26adfc8cc0fa3631ae2518c5b855 /tools/perf/scripts/python/syscall-counts.py | |
parent | 135d118bfd01471d2953e0bd941adde482e54a6d (diff) |
net: pcs: xpcs: move searching ID list out of line
Move the searching of the physical ID out of xpcs_create() and into
its own xpcs_identify() function, which makes it self contained.
This reduces the complexity in xpcs_craete(), making it easier to
follow, rather than having a lot of once-run code in the big for()
loop.
Signed-off-by: Russell King (Oracle) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions