diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-05-29 09:40:59 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-30 18:30:11 -0700 |
commit | 7efc706577046a8dd2a11ba7942e3a52a30c8b68 (patch) | |
tree | 48a5032b460f958e54a630cfcf0f893adacce281 /net/unix/af_unix.c | |
parent | cd56ff75ccfc37aab4b35b17b84d3ba08f33b933 (diff) |
net: stmmac: ethqos: clean up setting serdes speed
There are four repititions of the same sequence of code, three of which
are identical. Pull these out into a separate function to improve
readability.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/E1sCErj-00EOQ9-Vh@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions