summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-10-04 13:20:41 +0300
committerDavid S. Miller <davem@davemloft.net>2024-10-09 14:13:11 +0300
commite30993a9ab00464afebfcc205f00eb8a722799ee (patch)
tree28b46dfce14392f3cfcf1ea911250d6b81134902 /tools/perf/scripts/python
parent36efaca9cb28a893cad98f0448c39a8b698859e2 (diff)
downloadlinux-e30993a9ab00464afebfcc205f00eb8a722799ee.tar.xz
net: pcs: xpcs: remove dw_xpcs_compat enum
There is no reason for the struct dw_xpcs_compat arrays to be a fixed size other than the way we iterate over them. The index into the array isn't used for anything, and having them fixed size needlessly wastes space. Remove the enum that defines their size, and instead use an empty array entry (with NULL ->supported) to mark the end of the array. 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')
0 files changed, 0 insertions, 0 deletions