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