summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2023-05-26 09:34:43 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-05-30 09:48:17 +0200
commitbb4609d27f89cf6d4c6021690c02a10a94719464 (patch)
tree634f75f0064ac46325ec31d5477a83aa42bc438f /tools/perf/scripts/python/exported-sql-viewer.py
parentb8311f46c6f5a2030f43c764e742015867293493 (diff)
net: dsa: microchip: remove ksz_port:on variable
The only place where this variable would be set to false is the ksz8_config_cpu_port() function. But it is done in a bogus way: for (i = 0; i < dev->phy_port_cnt; i++) { if (i == dev->phy_port_cnt) <--- will be never executed. break; p->on = 1; So, we never have a situation where p->on = 0. In this case, we can just remove it. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions