dmaengine/amba-pl08x: No need to check "ch->signal < 0"
authorViresh Kumar <viresh.kumar@st.com>
Fri, 5 Aug 2011 10:02:35 +0000 (15:32 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 25 Aug 2011 14:03:38 +0000 (19:33 +0530)
commit16ca8105040217acf5b4b506d04bb933fb3a76af
treec71896e9b9b65a32e5c3494c8c537d744c53eeb2
parent48a59ef3579492855d41405f8bf0a2983e061976
dmaengine/amba-pl08x: No need to check "ch->signal < 0"

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@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c