]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'net-phylink-phylink_resolve-cleanups'
authorJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 03:05:15 +0000 (19:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 03:05:16 +0000 (19:05 -0800)
Russell King says:

====================
net: phylink: phylink_resolve() cleanups

This series does a bit of clean-up in phylink_resolve() to make the code
a little easier to follow.

Patch 1 moves the manual flow control setting in two of the switch
cases to after the switch().

Patch 2 changes the MLO_AN_FIXED case to be a simple if() statement,
reducing its indentation.

Patch 3 changes the MLO_AN_PHY case to also be a simple if() statment,
also reducing its indentation.

Patch 4 does the same for the last case.

Patch 5 reformats the code and comments for the reduced indentation,
making it easier to read.
====================

Link: https://patch.msgid.link/Zy411lVWe2SikuOs@shell.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge