dmaengine: sh: Remove chancnt affectations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Oct 2014 09:01:01 +0000 (11:01 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Nov 2014 06:03:07 +0000 (11:33 +0530)
commit1e916474a98eced0c2fd7dfeb13636ddf1e20348
tree764136d1c23a174d94a6fcd96ae1d3a5698f5567
parent9aa7171157ef452517056e1368459d6f5b4636aa
dmaengine: sh: 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>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/rcar-audmapp.c
drivers/dma/sh/rcar-hpbdma.c
drivers/dma/sh/shdma-base.c
drivers/dma/sh/shdmac.c
drivers/dma/sh/sudmac.c