Re: [PATCH net-next 2/4] net: phy: mscc-miim: remove redundant timeout check

2020-05-26 Thread Florian Fainelli
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 Reviewed-by: Florian Fainelli

Re: [PATCH net-next 2/4] net: phy: mscc-miim: remove redundant timeout check

2020-05-26 Thread Alexandre Belloni
On 26/05/2020 18:22:54+0200, Antoine Ténart 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 Reviewed-by: Alexandre Bell

[PATCH net-next 2/4] net: phy: mscc-miim: remove redundant timeout check

2020-05-26 Thread Antoine Tenart
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 --- drivers/net/phy/mdio-mscc-miim.c | 8 ++-- 1 file changed, 2 insertions(+), 6 d