Thread (3 messages) flat view 3 messages, 3 authors, 2019-03-27

Re: [PATCH] net: phy: mdio-bcm-unimac: remove redundant !timeout check

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2019-03-27 16:21:37
Also in: kernel-janitors, lkml

On 3/27/19 9:15 AM, Colin King wrote:
From: Colin Ian King <redacted>

The check for zero timeout is always true at the end of the proceeding
while loop; the only other exit path in the loop is if the unimac MDIO
is not busy.  Remove the redundant zero timeout check and always
return -ETIMEDOUT on this timeout return path.

Signed-off-by: Colin Ian King <redacted>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help