]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phylink: move MLO_AN_PHY resolve handling to if() statement
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 8 Nov 2024 16:01:55 +0000 (16:01 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 03:05:14 +0000 (19:05 -0800)
commitf0f46c2a3d8ea9d1427298c8103a777d9e616c29
tree5ad228307ebd19159a01044e8f3456b670d13d12
parent92abfcb4ced482afbe65d18980e6734fe1e62a34
net: phylink: move MLO_AN_PHY 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. Continue cleaning this up by converting the MLO_AN_PHY
case to use an if() statmeent.

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