On Sat, Sep 7, 2019 at 6:39 PM Saiyam Doshi <saiyamdoshi...@gmail.com> wrote:

> No need to compare return value with 0. In case of non-zero
> return value, the if condition will be true.
>
> This makes intent a bit more clear to the reader.
> "if (x) then", compared to "if (x is not zero) then".
>
> Signed-off-by: Saiyam Doshi <saiyamdoshi...@gmail.com>

Patch applied.

Yours,
Linus Walleij

Reply via email to