Thread (20 messages) 20 messages, 6 authors, 2025-02-26

Re: [PATCH net-next v3 2/4] stmmac: loongson: Remove surplus loop

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-02-24 19:55:55
Also in: linux-arm-kernel, lkml

On Mon, Feb 24, 2025 at 02:53:20PM +0100, Philipp Stanner wrote:
loongson_dwmac_probe() contains a loop which doesn't have an effect,
because it tries to call pcim_iomap_regions() with the same parameters
several times. The break statement at the loop's end furthermore ensures
that the loop only runs once anyways.

Remove the surplus loop.

Signed-off-by: Philipp Stanner <phasta@kernel.org>
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