From: Lee Jones Date: Fri, 3 May 2013 14:32:04 +0000 (+0100) Subject: dmaengine: ste_dma40: Remove 'always true' checking X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~68^2~17^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a59fed39577d7313921a59dba8cc1711ae90da5;p=pandora-kernel.git dmaengine: ste_dma40: Remove 'always true' checking Before allocating memory for logical channels, the current driver checks to see if there are any. Well as the dma40_memcpy_channels[] array is always populated, the check is always true. Best to remove the check. Cc: Dan Williams Cc: Per Forlin Cc: Rabin Vincent Acked-by: Vinod Koul Acked-by: Arnd Bergmann Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Reading git-diff-tree failed