diff options
| author | 2025-09-11 12:09:52 +0100 | |
|---|---|---|
| committer | 2025-09-14 12:01:03 -0700 | |
| commit | 586f1aebc9a112d5e76af045e38fda0632176fae (patch) | |
| tree | c547629c633096413d90f7ab30cee78ffc22ea07 /scripts/Makefile.thinlto | |
| parent | net: stmmac: fix PTP error cleanup in __stmmac_open() (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
