Re: [PATCH v3 net-next 1/4] net: phylink: simplify phylink_resolve() -> phylink_major_config() path
From: Russell King (Oracle)
Date: Mon Jan 19 2026 - 08:57:38 EST
On Mon, Jan 19, 2026 at 02:19:51PM +0200, Vladimir Oltean wrote:
> This is a trivial change with no functional effect which replaces the
> pattern:
>
> if (a) {
> if (b) {
> do_stuff();
> }
> }
>
> with:
>
> if (a && b) {
> do_stuff();
> };
>
> The purpose is to reduce the delta of a subsequent functional change.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
Reviewed-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx>
Thanks!
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!