[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <eea9bb16-305f-45bd-af5d-b14b715a9027@lunn.ch>
Date: Tue, 12 Nov 2024 00:56:03 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Vitalii Mordan <mordan@...ras.ru>
Cc: Alexandre Torgue <alexandre.torgue@...s.st.com>,
Jose Abreu <joabreu@...opsys.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>, netdev@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, Fedor Pchelkin <pchelkin@...ras.ru>,
Alexey Khoroshilov <khoroshilov@...ras.ru>,
Vadim Mutilin <mutilin@...ras.ru>
Subject: Re: [PATCH net-next v2] stmmac: dwmac-intel-plat: remove redundant
dwmac->data check in probe
On Mon, Nov 11, 2024 at 04:00:47PM +0300, Vitalii Mordan wrote:
> The driver’s compatibility with devices is confirmed earlier in
> platform_match(). Since reaching probe means the device is valid,
> the extra check can be removed to simplify the code.
>
> Signed-off-by: Vitalii Mordan <mordan@...ras.ru>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists