Re: [PATCH net-next 2/4] net: phy: mscc-miim: remove redundant timeout check
From: Florian Fainelli
Date: Tue May 26 2020 - 17:19:33 EST
On 5/26/2020 9:22 AM, Antoine Tenart wrote:
> readl_poll_timeout already returns -ETIMEDOUT if the condition isn't
> satisfied, there's no need to check again the condition after calling
> it. Remove the redundant timeout check.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian