commit | f5112c8ae22f8d5796b10d9f5db0014b3546dd00 | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Tue May 26 18:22:54 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue May 26 15:33:56 2020 -0700 |
tree | fe89eac2cce2a82ee5cbe53dd8a7456c50bb0ec3 | |
parent | 9513167e6c3343f4ec8e04eb89e9b130eb90e58a [diff] |
net: phy: mscc-miim: remove redundant timeout check 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@bootlin.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>