net: phylink: move MLO_AN_FIXED resolve handling to if() statement
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 8 Nov 2024 16:01:50 +0000 (16:01 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 03:05:13 +0000 (19:05 -0800)
commit92abfcb4ced482afbe65d18980e6734fe1e62a34
tree072fb4ed874274ca6ccd7c7bc64e64cbcdad0c5e
parent8cc5f4cb94c0b1c7c1ba8013c14fd02ffb1a25f3
net: phylink: move MLO_AN_FIXED resolve handling to if() statement

The switch() statement doesn't sit very well with the preceeding if()
statements, and results in excessive indentation that spoils code
readability. Begin cleaning this up by converting the MLO_AN_FIXED case
to an if() statement.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1t9RQk-002Fen-1A@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c