On Wed, Jan 11, 2017 at 6:49 PM, Colin King <[email protected]> wrote:

> From: Colin Ian King <[email protected]>
>
> At the end of the delay loop timeout will always be zero
> and hence the check for !timeout will always be true. Remove
> the redundant check and the redundant return 0 at the end of
> the function.
>
> Fixes CoverityScan CID#1357168 ("Logically dead code")
>
> Signed-off-by: Colin Ian King <[email protected]>

Clever Coverity scan.
Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij

Reply via email to