]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: pl08x: Remove chancnt affectations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Oct 2014 09:00:53 +0000 (11:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Nov 2014 06:02:44 +0000 (11:32 +0530)
commit8d8d27d26d93ecaf792e0d46029be6baa8c5e533
treebcadd4b631db6ec88464dd457a0ba1395aa653cc
parent4ae3c3d3a4a1e571176cfa90cb2670dba34850fd
dmaengine: pl08x: Remove chancnt affectations

chanctnt is already filled by dma_async_device_register, which uses the channel
list to know how much channels there is.

Since it's already filled, we can safely remove it from the drivers' probe
function.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c