diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-09-11 14:09:52 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-14 22:01:03 +0300 |
| commit | 586f1aebc9a112d5e76af045e38fda0632176fae (patch) | |
| tree | c547629c633096413d90f7ab30cee78ffc22ea07 /tools/perf/scripts/python/flamegraph.py | |
| parent | 454bbe5913b2c56a3b4c5bf85138b5382ba8b8e6 (diff) | |
| download | linux-586f1aebc9a112d5e76af045e38fda0632176fae.tar.xz | |
net: stmmac: fix stmmac_xdp_open() clk_ptp_ref error cleanup
Neither stmmac_xdp_release() nor the normal paths of stmmac_xdp_open()
touch clk_ptp_ref, so stmmac_xdp_open() should not be doing anything
with this clock. However, in its error path, it calls
stmmac_hw_teardown() which disables and unprepares this clock, which
can lead to the clock state becoming unbalanced when the netdev is
taken administratively down.
Remove this call to stmmac_hw_teardown(), and as this is the last user
of this function, remove the function as well.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
