Re: [PATCH 08/18] dmaengine/amba-pl08x: No need to check "ch->signal< 0"

From: Linus Walleij
Date: Sat Jul 30 2011 - 20:09:42 EST


2011/7/29 Viresh Kumar <viresh.kumar@xxxxxx>:

> We have just executed following in pl08x_get_phy_channel():
>        ch->signal = -1;
> We don't have to compare "ch->signal < 0", as this will always be true.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/