dmaengine: jz4740: Remove chancnt affectations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Oct 2014 09:00:55 +0000 (11:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Nov 2014 06:02:44 +0000 (11:32 +0530)
commitb2c100e02f666e6b4a73950e2a5badcdf744d4f1
tree425d37f3c3356bfb58b1e3f9d9b04b4e28b17318
parent9eba5536a7434c69d8c185d4bd1c70734d92287d
dmaengine: jz4740: 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/dma-jz4740.c