diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-10-04 13:21:12 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2024-10-09 14:13:11 +0300 |
| commit | 7921d3e602fc89a36dbef5b46d307bed47396409 (patch) | |
| tree | 64d6cab69d1d26adfc8cc0fa3631ae2518c5b855 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 135d118bfd01471d2953e0bd941adde482e54a6d (diff) | |
| download | linux-7921d3e602fc89a36dbef5b46d307bed47396409.tar.xz | |
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) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
