Thread (25 messages) flat view 25 messages, 5 authors, 2025-09-09

Re: [PATCH net-next v2 10/11] net: stmmac: mdio: remove redundant clock rate tests

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-09-05 02:18:15
Also in: linux-arm-kernel

On Thu, Sep 04, 2025 at 01:11:46PM +0100, Russell King (Oracle) wrote:
The pattern:

	... if (v < A)
		...
	else if (v >= A && v < B)
		...

can be simplified to:

	... if (v < A)
		...
	else if (v < B)
		...

which makes the string of ifelse more readable.

Signed-off-by: Russell King (Oracle) <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help