diff options
author | 2025-04-17 18:07:54 +0100 | |
---|---|---|
committer | 2025-04-22 19:06:02 -0700 | |
commit | 21b01cb8e88ea200a834a2c114b5dc6aa378ac56 (patch) | |
tree | 96dc9e7d740274d187895c1b635eb8dcd1ffefac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: rzn1_a5psw: Make the read-only array offsets static const (diff) | |
download | wireguard-linux-21b01cb8e88ea200a834a2c114b5dc6aa378ac56.tar.xz wireguard-linux-21b01cb8e88ea200a834a2c114b5dc6aa378ac56.zip |
net: stmmac: visconti: convert to set_clk_tx_rate() method
Convert visconti to use the set_clk_tx_rate() method. By doing so,
the GMAC control register will already have been updated (unlike with
the fix_mac_speed() method) so this code can be removed while porting
to the set_clk_tx_rate() method.
There is also no need for the spinlock, and has never been - neither
fix_mac_speed() nor set_clk_tx_rate() can be called by more than one
thread at a time, so the lock does nothing useful.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1u5SiQ-001I0B-OQ@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions