dmaengine: sirf: Remove chancnt affectations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Oct 2014 09:01:02 +0000 (11:01 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Nov 2014 06:06:18 +0000 (11:36 +0530)
commit35202451c8e6e5d76fe169e009f3587137686a7c
treef1d6138b1a87c4bbd0db47c11a1ddeec7018178b
parent1e916474a98eced0c2fd7dfeb13636ddf1e20348
dmaengine: sirf: 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/sirf-dma.c