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

Linus Walleij linus.walleij at linaro.org
Sat Jul 30 20:09:33 EDT 2011


2011/7/29 Viresh Kumar <viresh.kumar at st.com>:

> 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 at st.com>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Thanks,
Linus Walleij



More information about the linux-arm-kernel mailing list