aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorSerge Semin <[email protected]>2024-05-29 09:40:34 +0100
committerJakub Kicinski <[email protected]>2024-05-30 18:30:10 -0700
commit482b3c3ba757f8fb7368f208b411d2bad3004702 (patch)
tree43dfb00517871616e736292961b548c1323bb3c6 /tools/perf/scripts/python/sctop.py
parenta79d8fe2ff8e78e549dc86cc853a61b029404871 (diff)
net: stmmac: Drop TBI/RTBI PCS flags
First of all the flags are never set by any of the driver parts. If nobody have them set then the respective statements will always have the same result. Thus the statements can be simplified or even dropped with no risk to break things. Secondly shall any of the TBI or RTBI flag is set the MDIO-bus registration will be bypassed. Why? It really seems weird. It's perfectly fine to have a TBI/RTBI-capable PHY configured over the MDIO bus interface. Based on the notes above the TBI/RTBI PCS flags can be freely dropped thus simplifying the driver code. Reviewed-by: Andrew Halaney <[email protected]> Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]> Reviewed-by: Serge Semin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions