dmaengine: k3: Remove chancnt affectations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Oct 2014 09:00:57 +0000 (11:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Nov 2014 06:02:45 +0000 (11:32 +0530)
commit25741ff296f0a1d1fdd3e6f0923e5b4e79627037
tree7ae285a486d1d6561c5a5159d8b2efa21f904e63
parent91f7f700146d217e23d088d8a220d59d52861982
dmaengine: k3: 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/k3dma.c