diff options
author | Russell King (Oracle) <[email protected]> | 2024-10-04 11:20:46 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-10-09 12:13:11 +0100 |
commit | 0397212f930626bd584642454f5c7ad0ba0dca22 (patch) | |
tree | a431d3a1a79925f2040fbadd130e6181b8275c9a /tools/perf/scripts/python/syscall-counts.py | |
parent | e30993a9ab00464afebfcc205f00eb8a722799ee (diff) |
net: pcs: xpcs: don't use array for interface
Currently, xpcs uses an array of interfaces that each "compat" entry
supports. When looking up the compat entry for an interface, we
iterate over the compat entries and then over each interface.
Since each compat entry only has a single interface in its interfaces
array, replace the array with a single member in the compat structure.
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