summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-12-10 17:18:11 +0300
committerJakub Kicinski <kuba@kernel.org>2024-12-12 07:29:38 +0300
commit66c366392e55ae07e37699eeacca50f01b0bb879 (patch)
tree1140cc47881ea823cbf6f58b360ec33310fb83f0 /tools/perf/scripts/python/exported-sql-viewer.py
parent3fa2540d93d85ad18456dbd29386c737ad3f7e02 (diff)
downloadlinux-66c366392e55ae07e37699eeacca50f01b0bb879.tar.xz
net: dsa: remove check for dp->pl in EEE methods
When user ports are initialised, a phylink instance is always created, and so dp->pl will always be non-NULL. The EEE methods are only used for user ports, so checking for dp->pl to be NULL makes no sense. No other phylink-calling method implements similar checks in DSA. Remove this unnecessary check. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Link: https://patch.msgid.link/E1tL13z-006cZ7-BZ@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions