summaryrefslogtreecommitdiff
path: root/drivers/dma/dw_dmac.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-03 14:32:04 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2013-05-23 19:12:51 (GMT)
commit8a59fed39577d7313921a59dba8cc1711ae90da5 (patch)
treea20709493eb82822537aae8da99e6152c66e984c /drivers/dma/dw_dmac.c
parentdb72da92103e3023e6a4fdfe65183b21bfe5d883 (diff)
downloadlinux-fsl-qoriq-8a59fed39577d7313921a59dba8cc1711ae90da5.tar.xz
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 <djbw@fb.com> Cc: Per Forlin <per.forlin@stericsson.com> Cc: Rabin Vincent <rabin@rab.in> Acked-by: Vinod Koul <vinod.koul@intel.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/dma/dw_dmac.c')
0 files changed, 0 insertions, 0 deletions