diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-05-29 16:29:19 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-31 04:32:15 +0300 |
commit | 75518b0dc9d602bdd0e0ee4e04806dff53cb761a (patch) | |
tree | 9eb189de40441ff49e52ad41aad91a78ee463927 /mm/zbud.c | |
parent | 2f19a795e1f9c722b182f9a3d3dedd80f90a0715 (diff) | |
download | linux-75518b0dc9d602bdd0e0ee4e04806dff53cb761a.tar.xz |
net: phylink: rearrange phylink_parse_mode()
Of the two users of phylink_config->ovr_an_inband, both manually check
for a fixed link before setting this flag (or clearing it if they find
a fixed link.) This is unnecessary complication.
Rearrange phylink_parse_mode() a little so we can change how
phylink_config->ovr_an_inband works. This will allow the flag to be
tested before checking for the fixed link properties in the next patch.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/E1sCJMl-00Ecqp-K0@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions